public class MonotonicSet<T> extends TreeSet<T>
Constructor and Description |
---|
MonotonicSet() |
MonotonicSet(Comparator<T> c) |
MonotonicSet(TreeSet<T> c) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAllIgnoreDuplicates(Collection<? extends T> c) |
void |
clear() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
ceiling, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, size, subSet, subSet, tailSet, tailSet
equals, hashCode
containsAll, toArray, toArray, toString
public MonotonicSet()
public MonotonicSet(TreeSet<T> c)
public MonotonicSet(Comparator<T> c)
public void clear()
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<T>
removeAll
in interface Set<T>
removeAll
in class AbstractSet<T>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<T>
retainAll
in interface Set<T>
retainAll
in class AbstractCollection<T>
public boolean addAll(Collection<? extends T> c)
public boolean addAllIgnoreDuplicates(Collection<? extends T> c)
Copyright © 2016 The Apache Software Foundation. All rights reserved.