Package org.apache.batik.util
Class DoublyIndexedSet
java.lang.Object
org.apache.batik.util.DoublyIndexedSet
A set that uses two keys.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DoublyIndexedTable
The table to store entries.protected static Object
Dummy value object for the table. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
table
The table to store entries. -
value
Dummy value object for the table.
-
-
Constructor Details
-
DoublyIndexedSet
public DoublyIndexedSet()
-
-
Method Details
-
size
public int size()Returns the number of entries in the set. -
add
Adds an entry to the set. -
remove
Removes an entry from the set. -
contains
Returns whether the given keys are in the set. -
clear
public void clear()Clears the set.
-