| Modifier and Type | Field and Description |
|---|---|
int |
elementSize |
Object[] |
keyTable |
int |
threshold |
Object[] |
valueTable |
| Constructor and Description |
|---|
SimpleLookupTable() |
SimpleLookupTable(int size) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
containsKey(Object key) |
Object |
get(Object key) |
Object |
getKey(Object key) |
Object |
keyForValue(Object valueToMatch) |
Object |
put(Object key,
Object value) |
Object |
removeKey(Object key) |
void |
removeValue(Object valueToRemove) |
String |
toString() |
public Object[] keyTable
public Object[] valueTable
public int elementSize
public int threshold
public SimpleLookupTable()
public SimpleLookupTable(int size)
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic boolean containsKey(Object key)
public void removeValue(Object valueToRemove)
Copyright © 2015. All rights reserved.