public class ConcurrentEvictingSet<T>
extends java.util.concurrent.ConcurrentSkipListSet<T>
Constructor and Description |
---|
ConcurrentEvictingSet(java.util.Collection<? extends T> c,
int maxSize) |
ConcurrentEvictingSet(int maxSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T t) |
boolean |
addAll(java.util.Collection<? extends T> c) |
int |
getMaxSize() |
java.util.stream.Stream<T> |
stream() |
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
containsAll, retainAll, toArray, toArray, toString
public ConcurrentEvictingSet(int maxSize)
public ConcurrentEvictingSet(java.util.Collection<? extends T> c, int maxSize)