Package org.processmining.lpm.util
Class BoundedTreeSet<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.TreeSet<E>
-
- org.processmining.lpm.util.BoundedTreeSet<E>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.NavigableSet<E>,java.util.Set<E>,java.util.SortedSet<E>
public class BoundedTreeSet<E> extends java.util.TreeSet<E>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BoundedTreeSet(int limit)BoundedTreeSet(int limit, java.util.Collection<? extends E> c)BoundedTreeSet(int limit, java.util.Comparator<? super E> comparator)BoundedTreeSet(int limit, java.util.SortedSet<E> s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(E e)booleanaddAll(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, spliterator, subSet, subSet, tailSet, tailSet
-
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
-
-
-
-
Constructor Detail
-
BoundedTreeSet
public BoundedTreeSet(int limit)
-
BoundedTreeSet
public BoundedTreeSet(int limit, java.util.Collection<? extends E> c)
-
BoundedTreeSet
public BoundedTreeSet(int limit, java.util.Comparator<? super E> comparator)
-
BoundedTreeSet
public BoundedTreeSet(int limit, java.util.SortedSet<E> s)
-
-
Method Detail
-
add
public boolean add(E e)
-
-