Property | Type | Description | |
---|---|---|---|
INITIAL_CAPACITY | short |
Method | Description | |
---|---|---|
Append ( ushort key, Container value ) : void | ||
AppendCopy ( |
Append copy of the one value from another array
|
|
AppendCopy ( |
Append copies of the values from another array
|
|
Clone ( ) : RoaringArray |
Creates a deep copy of this roaring array
|
|
Deserialize ( BinaryReader reader ) : RoaringArray |
Deserialize a roaring array from a binary format, as written by the Serialize method.
|
|
Equals ( Object o ) : bool | ||
ExtendArray ( int k ) : void | ||
GetContainerAtIndex ( int i ) : Container | ||
GetEnumerator ( ) : IEnumerator |
Get an enumerator of the set indices of this bitset.
|
|
GetHashCode ( ) : int | ||
GetIndex ( ushort x ) : int | ||
GetKeyAtIndex ( int i ) : ushort | ||
InsertNewKeyValueAt ( int i, ushort key, Container value ) : void |
insert a new key, it is assumed that it does not exist
|
|
RemoveAtIndex ( int i ) : void | ||
RemoveIndexRange ( int begin, int end ) : void | ||
ReplaceKeyAndContainerAtIndex ( int i, ushort key, Container c ) : void |
Replaces the key and container value at a given index.
|
|
Resize ( int newSize ) : void |
Logically resizes the Roaring Array after an in-place operation. Fills all keys and values after its new last index with zeros and null, respectively, and changes the size to the new size.
|
|
RoaringArray ( ) : System | ||
RoaringArray ( int capacity ) : System | ||
Serialize ( BinaryWriter writer ) : void |
Serialize the roaring array into a binary format.
|
|
SetContainerAtIndex ( int i, Container c ) : void |
Method | Description | |
---|---|---|
AdvanceUntil ( ushort x, int pos ) : int | ||
BinarySearch ( int begin, int end, ushort key ) : int | ||
CopyRange ( int begin, int end, int newBegin ) : void |
Copies a range of keys and values from one location in the roaring array to another.
|
public Append ( ushort key, Container value ) : void | ||
key | ushort | |
value | Container | |
return | void |
public AppendCopy ( |
||
sa | Other array | |
index | int | Index in the other array |
return | void |
public AppendCopy ( |
||
sa | other array | |
startingIndex | int | starting index in the other array |
end | int | (exclusive) in the other array |
return | void |
public static Deserialize ( BinaryReader reader ) : RoaringArray | ||
reader | BinaryReader | The reader from which to deserialize the roaring array. |
return | RoaringArray |
public GetContainerAtIndex ( int i ) : Container | ||
i | int | |
return | Container |
public InsertNewKeyValueAt ( int i, ushort key, Container value ) : void | ||
i | int | |
key | ushort | |
value | Container | |
return | void |
public RemoveIndexRange ( int begin, int end ) : void | ||
begin | int | |
end | int | |
return | void |
public ReplaceKeyAndContainerAtIndex ( int i, ushort key, Container c ) : void | ||
i | int | the working index |
key | ushort | key to set |
c | Container | container to set |
return | void |
public Resize ( int newSize ) : void | ||
newSize | int | the new size of the roaring array |
return | void |
public RoaringArray ( int capacity ) : System | ||
capacity | int | |
return | System |
public Serialize ( BinaryWriter writer ) : void | ||
writer | BinaryWriter | The writer to write the serialization to. |
return | void |
public SetContainerAtIndex ( int i, Container c ) : void | ||
i | int | |
c | Container | |
return | void |