|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<E>
org.elasticsearch.common.collect.BoundedTreeSet<E>
public class BoundedTreeSet<E>
A TreeSet that is bounded by size.
| Constructor Summary | |
|---|---|
BoundedTreeSet(java.util.Comparator<? super E> comparator,
int size)
|
|
BoundedTreeSet(int size)
|
|
| Method Summary | |
|---|---|
boolean |
add(E e)
|
boolean |
addAll(java.util.Collection<? extends E> c)
|
| Methods inherited from class java.util.TreeSet |
|---|
ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, subSet, subSet, tailSet, tailSet |
| Methods inherited from class java.util.AbstractSet |
|---|
equals, hashCode, removeAll |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public BoundedTreeSet(int size)
public BoundedTreeSet(java.util.Comparator<? super E> comparator,
int size)
| Method Detail |
|---|
public boolean add(E e)
add in interface java.util.Collection<E>add in interface java.util.Set<E>add in class java.util.TreeSet<E>public boolean addAll(java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E>addAll in interface java.util.Set<E>addAll in class java.util.TreeSet<E>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||