public class LinkedSet extends HashSet
| Constructor and Description |
|---|
LinkedSet()
Constructor.
|
LinkedSet(DataStructure data)
Constructor.
|
LinkedSet(int initialCapacity)
Constructor.
|
LinkedSet(int initialCapacity,
boolean touchOrdering)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
removeFirst()
Removes the first element in the set.
|
void |
touch(java.lang.Object obj)
Moves the touched object to the end of the set if touch ordering is true and the given object
is an element of the set.
|
add, clear, contains, get, isEmpty, iterator, remove, sizecontainsAll, equals, getClassShortName, hashCodeaddAll, toArray, toArray, toStringpublic LinkedSet()
public LinkedSet(DataStructure data)
data - public LinkedSet(int initialCapacity)
initialCapacity - public LinkedSet(int initialCapacity,
boolean touchOrdering)
initialCapacity - touchOrdering - access Orderingpublic void touch(java.lang.Object obj)
obj - public java.lang.Object removeFirst()
null.