Package fish.payara.nucleus.healthcheck
Class BoundedTreeSet<N extends Comparable>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.concurrent.ConcurrentSkipListSet<N>
-
- fish.payara.nucleus.healthcheck.BoundedTreeSet<N>
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<N>,Collection<N>,NavigableSet<N>,Set<N>,SortedSet<N>
public class BoundedTreeSet<N extends Comparable> extends ConcurrentSkipListSet<N> implements Serializable
- Author:
- mertcaliskan
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intmaxSize
-
Constructor Summary
Constructors Constructor Description BoundedTreeSet(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(N n)-
Methods inherited from class java.util.concurrent.ConcurrentSkipListSet
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, tailSet
-
Methods inherited from class java.util.AbstractSet
hashCode
-
Methods inherited from class java.util.AbstractCollection
addAll, 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.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
add
public boolean add(N n)
- Specified by:
addin interfaceCollection<N extends Comparable>- Specified by:
addin interfaceSet<N extends Comparable>- Overrides:
addin classConcurrentSkipListSet<N extends Comparable>
-
-