Package com.pnfsoftware.jeb.util.collect
Class SynchronizedLinkedSet<E>
java.lang.Object
com.pnfsoftware.jeb.util.collect.SynchronizedLinkedSet<E>
- Type Parameters:
E
-
A serializable, inefficient, fully synchronized, linked pseudo-set. (Refer to
SynchronizedLinkedMap
for additional details.)
This class does not allow null keys.
Methods of this object are guaranteed to never raise ConcurrentModificationException
.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SynchronizedLinkedSet
public SynchronizedLinkedSet()
-
-
Method Details
-
size
public int size() -
clear
public void clear() -
isEmpty
public boolean isEmpty() -
contains
-
add
-
remove
-
copyOfEntries
-
firstEntry
- Returns:
- Throws:
NoSuchElementException
- if the map is empty
-
toString
-