public class BoundedTreeSet<N extends Comparable> extends ConcurrentSkipListSet<N> implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxSize |
| Constructor and Description |
|---|
BoundedTreeSet(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(N n) |
ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, equals, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, removeAll, size, spliterator, subSet, subSet, tailSet, tailSethashCodeaddAll, containsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, hashCode, retainAll, toArray, toArrayparallelStream, removeIf, streampublic boolean add(N n)
add in interface Collection<N extends Comparable>add in interface Set<N extends Comparable>add in class ConcurrentSkipListSet<N extends Comparable>Copyright © 2019. All rights reserved.