| java.lang.Object org.apache.batik.util.SoftDoublyIndexedTable
SoftDoublyIndexedTable | public class SoftDoublyIndexedTable (Code) | | This class represents a doubly indexed hash table, which holds
soft references to the contained values..
author: Stephane Hillion version: $Id$ |
INITIAL_CAPACITY | final protected static int INITIAL_CAPACITY(Code) | | The initial capacity
|
count | protected int count(Code) | | The number of entries
|
table | protected Entry[] table(Code) | | The underlying array
|
SoftDoublyIndexedTable | public SoftDoublyIndexedTable()(Code) | | Creates a new SoftDoublyIndexedTable.
|
SoftDoublyIndexedTable | public SoftDoublyIndexedTable(int c)(Code) | | Creates a new DoublyIndexedTable.
Parameters: c - The inital capacity. |
clear | public void clear()(Code) | | Clears the table.
|
hashCode | protected int hashCode(Object o1, Object o2)(Code) | | Computes a hash code corresponding to the given objects.
|
rehash | protected void rehash()(Code) | | Rehash the table
|
removeClearedEntries | protected void removeClearedEntries()(Code) | | Removes the cleared entries.
|
size | public int size()(Code) | | Returns the size of this table.
|
|
|