T - Content typepublic final class EmptySortedSet<T> extends AbstractSet<T> implements SortedSet<T>
| Constructor and Description |
|---|
EmptySortedSet() |
| Modifier and Type | Method and Description |
|---|---|
Comparator<Object> |
comparator() |
boolean |
contains(Object obj) |
T |
first() |
SortedSet<T> |
headSet(Object toElement) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
T |
last() |
int |
size() |
SortedSet<T> |
subSet(Object fromElement,
Object toElement) |
SortedSet<T> |
tailSet(Object fromElement) |
equals, hashCode, removeAlladd, addAll, clear, containsAll, remove, retainAll, toArray, toArray, toString@Nonnegative public int size()
size in interface Collection<T>size in interface Set<T>size in class AbstractCollection<T>public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface Set<T>isEmpty in class AbstractCollection<T>public boolean contains(Object obj)
contains in interface Collection<T>contains in interface Set<T>contains in class AbstractCollection<T>@Nullable public Comparator<Object> comparator()
comparator in interface SortedSet<T>Copyright © 2014–2015 Philip Helger. All rights reserved.