C# Class Sharpen.BitSet

ファイルを表示 Open project: oganix/NBoilerpipe Class Usage Examples

Protected Properties

Property Type Description
MOD_MASK int
dataBits long[]

Public Methods

Method Description
Add ( int el ) : void
And ( BitSet a ) : BitSet
AndInPlace ( BitSet a ) : void
BitSet ( ) : System
BitSet ( int nbits ) : System
BitSet ( long bits_ ) : System
Clear ( ) : void
Clear ( int el ) : void
Clone ( ) : object
Degree ( ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
GrowToInclude ( int bit ) : void
LengthInLongWords ( ) : int
Member ( int el ) : bool
Nil ( ) : bool
Not ( ) : BitSet
NotInPlace ( ) : void
NotInPlace ( int maxBit ) : void
NotInPlace ( int minBit, int maxBit ) : void
Or ( BitSet a ) : BitSet
OrInPlace ( BitSet a ) : void
Remove ( int el ) : void
Subset ( BitSet a ) : bool
SubtractInPlace ( BitSet a ) : void
ToArray ( ) : int[]
ToPackedArray ( ) : long[]
ToString ( ) : string
ToString ( string separator ) : string
ToString ( string separator, ArrayList vocabulary ) : string
ToStringOfHalfWords ( ) : string
ToStringOfWords ( ) : string
of ( int el ) : BitSet
size ( ) : int

Private Methods

Method Description
BitMask ( int bitNumber ) : long
numWordsToHold ( int el ) : int
setSize ( int nwords ) : void
wordNumber ( int bit ) : int

Method Details

Add() public method

public Add ( int el ) : void
el int
return void

And() public method

public And ( BitSet a ) : BitSet
a BitSet
return BitSet

AndInPlace() public method

public AndInPlace ( BitSet a ) : void
a BitSet
return void

BitSet() public method

public BitSet ( ) : System
return System

BitSet() public method

public BitSet ( int nbits ) : System
nbits int
return System

BitSet() public method

public BitSet ( long bits_ ) : System
bits_ long
return System

Clear() public method

public Clear ( ) : void
return void

Clear() public method

public Clear ( int el ) : void
el int
return void

Clone() public method

public Clone ( ) : object
return object

Degree() public method

public Degree ( ) : int
return int

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GrowToInclude() public method

public GrowToInclude ( int bit ) : void
bit int
return void

LengthInLongWords() public method

public LengthInLongWords ( ) : int
return int

Member() public method

public Member ( int el ) : bool
el int
return bool

Nil() public method

public Nil ( ) : bool
return bool

Not() public method

public Not ( ) : BitSet
return BitSet

NotInPlace() public method

public NotInPlace ( ) : void
return void

NotInPlace() public method

public NotInPlace ( int maxBit ) : void
maxBit int
return void

NotInPlace() public method

public NotInPlace ( int minBit, int maxBit ) : void
minBit int
maxBit int
return void

Or() public method

public Or ( BitSet a ) : BitSet
a BitSet
return BitSet

OrInPlace() public method

public OrInPlace ( BitSet a ) : void
a BitSet
return void

Remove() public method

public Remove ( int el ) : void
el int
return void

Subset() public method

public Subset ( BitSet a ) : bool
a BitSet
return bool

SubtractInPlace() public method

public SubtractInPlace ( BitSet a ) : void
a BitSet
return void

ToArray() public method

public ToArray ( ) : int[]
return int[]

ToPackedArray() public method

public ToPackedArray ( ) : long[]
return long[]

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( string separator ) : string
separator string
return string

ToString() public method

public ToString ( string separator, ArrayList vocabulary ) : string
separator string
vocabulary ArrayList
return string

ToStringOfHalfWords() public method

public ToStringOfHalfWords ( ) : string
return string

ToStringOfWords() public method

public ToStringOfWords ( ) : string
return string

of() public static method

public static of ( int el ) : BitSet
el int
return BitSet

size() public method

public size ( ) : int
return int

Property Details

MOD_MASK protected_oe static_oe property

protected static int MOD_MASK
return int

dataBits protected_oe property

protected long[] dataBits
return long[]