Class LinkedSortedSet<E>
java.lang.Object
ca.spottedleaf.concurrentutil.set.LinkedSortedSet<E>
- All Implemented Interfaces:
Iterable<E>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsFirst(E element) booleancontainsLast(E element) first()booleanisEmpty()iterator()last()pollLast()booleanremove(LinkedSortedSet.Link<E> link) booleanremoveFirst(E element) booleanremoveLast(E element) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
comparator
-
-
Constructor Details
-
LinkedSortedSet
public LinkedSortedSet() -
LinkedSortedSet
-
-
Method Details
-
clear
public void clear() -
isEmpty
public boolean isEmpty() -
first
-
last
-
containsFirst
-
containsLast
-
remove
-
removeFirst
-
removeLast
-
iterator
-
pollFirst
-
pollLast
-
addLast
-
addFirst
-