public class DoublyIndexedSet extends Object
Modifier and Type | Field and Description |
---|---|
protected DoublyIndexedTable |
table
The table to store entries.
|
protected static Object |
value
Dummy value object for the table.
|
Constructor and Description |
---|
DoublyIndexedSet() |
Modifier and Type | Method and Description |
---|---|
void |
add(Object o1,
Object o2)
Adds an entry to the set.
|
void |
clear()
Clears the set.
|
boolean |
contains(Object o1,
Object o2)
Returns whether the given keys are in the set.
|
void |
remove(Object o1,
Object o2)
Removes an entry from the set.
|
int |
size()
Returns the number of entries in the set.
|
protected DoublyIndexedTable table
protected static Object value
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.