| java.lang.Object gnu.mapping.Table2D
Table2D | public class Table2D (Code) | | 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 | |
public Object | get(Object key1, Object key2, Object defaultValue) | final public static Table2D | getInstance() | public boolean | isBound(Object key1, Object key2) | protected Entry | lookup(Object key1, Object key2, int hash1, int hash2, boolean create) | public Object | put(Object key1, Object key2, Object newValue) | void | rehash() | public Object | remove(Object key1, Object key2) | public Object | remove(Object key1, Object key2, int hash) | public Object | remove(Object key1, Object key2, int hash1, int hash2) | protected Object | wrapReference(Object key) |
num_bindings | int num_bindings(Code) | | |
Table2D | public Table2D(int capacity)(Code) | | |
lookup | protected Entry lookup(Object key1, Object key2, int hash1, int hash2, boolean create)(Code) | | |
|
|