C# 클래스 Rhino.ObjToIntMap

파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void
Get ( object key, int defaultValue ) : int

Get integer value assigned with key.

Get integer value assigned with key.

GetExisting ( object key ) : int

Get integer value assigned with key.

Get integer value assigned with key.

GetKeys ( ) : object[]

Return array of present keys

GetKeys ( object array, int offset ) : void
Has ( object key ) : bool
Intern ( object keyArg ) : object

If table already contains a key that equals to keyArg, return that key while setting its value to zero, otherwise add keyArg with 0 value to the table and return it.

If table already contains a key that equals to keyArg, return that key while setting its value to zero, otherwise add keyArg with 0 value to the table and return it.

IsEmpty ( ) : bool
NewIterator ( ) : ObjToIntMap.Iterator
ObjToIntMap ( ) : System.IO
ObjToIntMap ( int keyCountHint ) : System.IO
Put ( object key, int value ) : void
Remove ( object key ) : void
Size ( ) : int

비공개 메소드들

메소드 설명
EnsureIndex ( object key ) : int
FindIndex ( object key ) : int
InitIterator ( ObjToIntMap i ) : void
InsertNewKey ( object key, int hash ) : int
ReadObject ( ObjectInputStream @in ) : void
RehashTable ( ) : void
TableLookupStep ( int fraction, int mask, int power ) : int
WriteObject ( ObjectOutputStream @out ) : void

메소드 상세

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Get() 공개 메소드

Get integer value assigned with key.
Get integer value assigned with key.
public Get ( object key, int defaultValue ) : int
key object
defaultValue int
리턴 int

GetExisting() 공개 메소드

Get integer value assigned with key.
Get integer value assigned with key.
if key does not exist
public GetExisting ( object key ) : int
key object
리턴 int

GetKeys() 공개 메소드

Return array of present keys
public GetKeys ( ) : object[]
리턴 object[]

GetKeys() 공개 메소드

public GetKeys ( object array, int offset ) : void
array object
offset int
리턴 void

Has() 공개 메소드

public Has ( object key ) : bool
key object
리턴 bool

Intern() 공개 메소드

If table already contains a key that equals to keyArg, return that key while setting its value to zero, otherwise add keyArg with 0 value to the table and return it.
If table already contains a key that equals to keyArg, return that key while setting its value to zero, otherwise add keyArg with 0 value to the table and return it.
public Intern ( object keyArg ) : object
keyArg object
리턴 object

IsEmpty() 공개 메소드

public IsEmpty ( ) : bool
리턴 bool

NewIterator() 공개 메소드

public NewIterator ( ) : ObjToIntMap.Iterator
리턴 ObjToIntMap.Iterator

ObjToIntMap() 공개 메소드

public ObjToIntMap ( ) : System.IO
리턴 System.IO

ObjToIntMap() 공개 메소드

public ObjToIntMap ( int keyCountHint ) : System.IO
keyCountHint int
리턴 System.IO

Put() 공개 메소드

public Put ( object key, int value ) : void
key object
value int
리턴 void

Remove() 공개 메소드

public Remove ( object key ) : void
key object
리턴 void

Size() 공개 메소드

public Size ( ) : int
리턴 int