Package gnu.mapping
Class Table2D
- java.lang.Object
-
- gnu.mapping.Table2D
-
public class Table2D extends Object
Maps 2 objects to another. Uses a weak references to each key, unless it is null or a Symbol. This should at some point be merged with SimpleEnvironment. FIXME.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(Object key1, Object key2, Object defaultValue)
static Table2D
getInstance()
boolean
isBound(Object key1, Object key2)
protected gnu.mapping.Entry
lookup(Object key1, Object key2, int hash1, int hash2, boolean create)
Object
put(Object key1, Object key2, Object newValue)
Object
remove(Object key1, Object key2)
Object
remove(Object key1, Object key2, int hash)
Object
remove(Object key1, Object key2, int hash1, int hash2)
protected Object
wrapReference(Object key)
-