org.apache.batik.dom.util
public class TriplyIndexedTable extends Object
Nested Class Summary | |
---|---|
protected static class | TriplyIndexedTable.Entry
To manage collisions |
Field Summary | |
---|---|
protected int | count
The number of entries |
protected static int | INITIAL_CAPACITY
The initial capacity |
protected TriplyIndexedTable.Entry[] | table
The underlying array |
Constructor Summary | |
---|---|
TriplyIndexedTable()
Creates a new TriplyIndexedTable. | |
TriplyIndexedTable(int c)
Creates a new TriplyIndexedTable. |
Method Summary | |
---|---|
Object | get(Object o1, Object o2, Object o3)
Gets the value of an entry |
protected int | hashCode(Object o1, Object o2, Object o3)
Computes a hash code corresponding to the given objects. |
Object | put(Object o1, Object o2, Object o3, Object value)
Puts a value in the table. |
protected void | rehash()
Rehash the table |
int | size()
Returns the size of this table. |
Parameters: c The inital capacity.
Returns: the value or null
Returns: the old value or null