public static class FunctionUtils.UnmodifiableSortedSet<T> extends Object implements UnmodSortedSet<T>, Serializable
FunctionUtils.unmodSortedSet(SortedSet).UnmodSet.AbstractUnmodSet<T>UnmodIterable.AbstractUnmodIterable<T>| Modifier and Type | Method and Description |
|---|---|
Comparator<? super T> |
comparator() |
boolean |
contains(Object o)
Returns true if the set contains the given item.
|
boolean |
equals(Object o) |
T |
first() |
int |
hashCode() |
UnmodSortedSet<T> |
headSet(T toElement) |
boolean |
isEmpty()
This is a convenience method inherited from Collection that returns true if size() == 0 (if
this set contains no elements).
|
UnmodSortedIterator<T> |
iterator()
Iterates over contents in a guaranteed order.
|
T |
last() |
int |
size()
Returns the number of items in this iterable.
|
UnmodSortedSet<T> |
subSet(T fromElement,
T toElement) |
UnmodSortedSet<T> |
tailSet(T fromElement) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, containsAll, remove, removeAll, removeIf, retainAll, toArray, toArrayspliteratorparallelStream, streamcastFromList, castFromSortedMap, castFromSortedSet, equal, equalsconcat, drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toStringtoImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSetpublic Comparator<? super T> comparator()
comparator in interface SortedSet<T>public UnmodSortedSet<T> subSet(T fromElement, T toElement)
UnmodSortedSetpublic UnmodSortedSet<T> headSet(T toElement)
UnmodSortedSetpublic UnmodSortedSet<T> tailSet(T fromElement)
UnmodSortedSetpublic boolean contains(Object o)
UnmodSetpublic int size()
Sizedpublic boolean isEmpty()
UnmodSetpublic UnmodSortedIterator<T> iterator()
UnmodSortedSetiterator in interface Iterable<T>iterator in interface Collection<T>iterator in interface Set<T>iterator in interface UnmodCollection<T>iterator in interface UnmodIterable<T>iterator in interface UnmodSet<T>iterator in interface UnmodSortedCollection<T>iterator in interface UnmodSortedIterable<T>iterator in interface UnmodSortedSet<T>public int hashCode()
public boolean equals(Object o)
Copyright © 2017. All rights reserved.