public class BoundedTreeSet<E> extends TreeSet<E>
TreeSet that is bounded by size.| Constructor and Description |
|---|
BoundedTreeSet(Comparator<? super E> comparator,
int size) |
BoundedTreeSet(int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
boolean |
addAll(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, tailSetequals, hashCode, removeAllcontainsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, removeAll, retainAll, toArray, toArrayparallelStream, removeIf, streampublic BoundedTreeSet(int size)
public BoundedTreeSet(Comparator<? super E> comparator, int size)
public boolean add(E e)
Copyright © 2009–2016. All rights reserved.