public class BoundedTreeSet<E>
extends java.util.TreeSet<E>
Constructor and Description |
---|
BoundedTreeSet(int limit) |
BoundedTreeSet(int limit,
java.util.Collection<? extends E> c) |
BoundedTreeSet(int limit,
java.util.Comparator<? super E> comparator) |
BoundedTreeSet(int limit,
java.util.SortedSet<E> s) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
boolean |
addAll(java.util.Collection<? extends E> c) |
ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSet
containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
public BoundedTreeSet(int limit)
public BoundedTreeSet(int limit, java.util.Collection<? extends E> c)
public BoundedTreeSet(int limit, java.util.Comparator<? super E> comparator)
public BoundedTreeSet(int limit, java.util.SortedSet<E> s)
public boolean add(E e)