Method | Description | |
---|---|---|
Add ( int el ) : void |
or this element into this set (grow as necessary to accommodate)
|
|
BitSet ( ) : System.Collections.Generic |
Construct a bitset of size one word (64 bits)
|
|
BitSet ( IEnumerable |
Construction from a list of integers
|
|
BitSet ( int nbits ) : System.Collections.Generic |
Construct a bitset given the size
|
|
Clone ( ) : object | ||
Equals ( object other ) : bool | ||
GetHashCode ( ) : int | ||
GrowToInclude ( int bit ) : void |
Grows the set to a larger number of bits.
|
|
IsNil ( ) : bool | ||
LengthInLongWords ( ) : int |
return how much space is being used by the bits array not how many actually have member bits on.
|
|
Member ( int el ) : bool | ||
NumBits ( ) : int | ||
Of ( int el ) : |
||
Of ( int a, int b ) : |
||
Of ( int a, int b, int c ) : |
||
Of ( int a, int b, int c, int d ) : |
||
Or ( |
return this | a in a new set
|
|
OrInPlace ( |
||
Remove ( int el ) : void | ||
Size ( ) : int | ||
ToArray ( ) : int[] | ||
ToString ( ) : string | ||
ToString ( string tokenNames ) : string |
Method | Description | |
---|---|---|
BitMask ( int bitNumber ) : ulong | ||
BitSet ( ulong bits ) : System.Collections.Generic | ||
NumWordsToHold ( int el ) : int | ||
SetSize ( int nwords ) : void |
Sets the size of a set.
|
|
WordNumber ( int bit ) : int |
public BitSet ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public BitSet ( IEnumerable |
||
items | IEnumerable |
|
return | System.Collections.Generic |
public BitSet ( int nbits ) : System.Collections.Generic | ||
nbits | int | The size of the bitset in bits |
return | System.Collections.Generic |
public GrowToInclude ( int bit ) : void | ||
bit | int | element that must fit in set |
return | void |
public static Of ( int a, int b, int c ) : |
||
a | int | |
b | int | |
c | int | |
return |
public static Of ( int a, int b, int c, int d ) : |
||
a | int | |
b | int | |
c | int | |
d | int | |
return |
public ToString ( string tokenNames ) : string | ||
tokenNames | string | |
return | string |