Klasse HashtableOfInteger
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.util.HashtableOfInteger
Hashtable for Integer keys.
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclear()clone()booleancontainsKey(int key) get(int key) voidputUnsafely(int key, Object value) Put a value at the index of the given using the local hash code computation.removeKey(int key) intsize()toString()
-
Felddetails
-
keyTable
-
valueTable
-
elementSize
public int elementSize
-
-
Konstruktordetails
-
HashtableOfInteger
public HashtableOfInteger() -
HashtableOfInteger
public HashtableOfInteger(int size)
-
-
Methodendetails
-
clear
public void clear() -
clone
- Setzt außer Kraft:
clonein KlasseObject- Löst aus:
CloneNotSupportedException
-
containsKey
public boolean containsKey(int key) -
get
-
put
-
putUnsafely
Put a value at the index of the given using the local hash code computation.Note that this is an unsafe put as there's no prior verification whether the given key already exists in the table or not.
- Parameter:
key- The key of the table entryvalue- The value of the table entry
-
removeKey
-
size
public int size() -
toString
-