C# Class Rhino.UintMap

Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void
GetExistingInt ( int key ) : int

Get integer value assigned with key.

Get integer value assigned with key.

GetInt ( int key, int defaultValue ) : int

Get integer value assigned with key.

Get integer value assigned with key.

GetKeys ( ) : int[]

Return array of present keys

GetObject ( int key ) : object

Get object value assigned with key.

Get object value assigned with key.

Has ( int key ) : bool
IsEmpty ( ) : bool
Put ( int key, int value ) : void

Set int value of the key.

Set int value of the key. If key does not exist, also set its object value to null.

Put ( int key, object value ) : void

Set object value of the key.

Set object value of the key. If key does not exist, also set its int value to 0.

Remove ( int key ) : void
Size ( ) : int
UintMap ( ) : System.IO
UintMap ( int initialCapacity ) : System.IO

Private Methods

Méthode Description
EnsureIndex ( int key, bool intType ) : int
FindIndex ( int key ) : int
InsertNewKey ( int key ) : int
ReadObject ( ObjectInputStream @in ) : void
RehashTable ( bool ensureIntSpace ) : void
TableLookupStep ( int fraction, int mask, int power ) : int
WriteObject ( ObjectOutputStream @out ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

GetExistingInt() public méthode

Get integer value assigned with key.
Get integer value assigned with key.
if key does not exist
public GetExistingInt ( int key ) : int
key int
Résultat int

GetInt() public méthode

Get integer value assigned with key.
Get integer value assigned with key.
public GetInt ( int key, int defaultValue ) : int
key int
defaultValue int
Résultat int

GetKeys() public méthode

Return array of present keys
public GetKeys ( ) : int[]
Résultat int[]

GetObject() public méthode

Get object value assigned with key.
Get object value assigned with key.
public GetObject ( int key ) : object
key int
Résultat object

Has() public méthode

public Has ( int key ) : bool
key int
Résultat bool

IsEmpty() public méthode

public IsEmpty ( ) : bool
Résultat bool

Put() public méthode

Set int value of the key.
Set int value of the key. If key does not exist, also set its object value to null.
public Put ( int key, int value ) : void
key int
value int
Résultat void

Put() public méthode

Set object value of the key.
Set object value of the key. If key does not exist, also set its int value to 0.
public Put ( int key, object value ) : void
key int
value object
Résultat void

Remove() public méthode

public Remove ( int key ) : void
key int
Résultat void

Size() public méthode

public Size ( ) : int
Résultat int

UintMap() public méthode

public UintMap ( ) : System.IO
Résultat System.IO

UintMap() public méthode

public UintMap ( int initialCapacity ) : System.IO
initialCapacity int
Résultat System.IO