Interface ICommonsSortedSet<ELEMENTTYPE>
- Type Parameters:
ELEMENTTYPE- Set element type
- All Superinterfaces:
Collection<ELEMENTTYPE>,ICloneable<ICommonsSet<ELEMENTTYPE>>,ICommonsCollection<ELEMENTTYPE>,ICommonsIterable<ELEMENTTYPE>,ICommonsSet<ELEMENTTYPE>,IHasSize,Iterable<ELEMENTTYPE>,SequencedCollection<ELEMENTTYPE>,SequencedSet<ELEMENTTYPE>,Set<ELEMENTTYPE>,SortedSet<ELEMENTTYPE>
- All Known Subinterfaces:
ICommonsNavigableSet<ELEMENTTYPE>
- All Known Implementing Classes:
CommonsTreeSet
public interface ICommonsSortedSet<ELEMENTTYPE>
extends SortedSet<ELEMENTTYPE>, ICommonsSet<ELEMENTTYPE>
A special
SortedSet based interface with extended functionality based
on ICommonsSet.- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault SortedSet<ELEMENTTYPE> getClone()default ELEMENTTYPEgetFirst()default ELEMENTTYPEgetFirst(ELEMENTTYPE aDefault) default ELEMENTTYPEgetLast()default ELEMENTTYPEgetLast(ELEMENTTYPE aDefault) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.helger.commons.collection.impl.ICommonsCollection
addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addAllMapped, addIf, addIfNotNull, addObject, getAtIndex, getAtIndex, getAtIndex, getAtIndex, getAtIndexMapped, getAtIndexMapped, getAtIndexMapped, getAtIndexMapped, getCopyAsList, getCount, getSorted, iterator2, removeAll, removeObject, set, setAll, setAll, setAllMapped, setAllMappedMethods inherited from interface com.helger.commons.collection.impl.ICommonsIterable
containsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstIndex, findFirstMapped, findFirstMapped, findLastIndex, forEachBreakable, forEachByIndex, forEachThrowing, getCountMethods inherited from interface com.helger.commons.collection.impl.ICommonsSet
createInstance, getAll, getAllInstanceOf, getAllMapped, getAllMapped, replaceMethods inherited from interface com.helger.commons.lang.IHasSize
isEmpty, isNotEmpty, sizeMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSet
addFirst, addLast, comparator, first, headSet, last, removeFirst, removeLast, reversed, spliterator, subSet, tailSet
-
Method Details
-
getFirst
- Specified by:
getFirstin interfaceSequencedCollection<ELEMENTTYPE>- Specified by:
getFirstin interfaceSortedSet<ELEMENTTYPE>
-
getFirst
-
getLast
- Specified by:
getLastin interfaceSequencedCollection<ELEMENTTYPE>- Specified by:
getLastin interfaceSortedSet<ELEMENTTYPE>
-
getLast
-
getAsUnmodifiable
- Specified by:
getAsUnmodifiablein interfaceICommonsCollection<ELEMENTTYPE>- Specified by:
getAsUnmodifiablein interfaceICommonsSet<ELEMENTTYPE>- Returns:
- An unmodifiable version of this collection. Never
null. - See Also:
-
getClone
- Specified by:
getClonein interfaceICloneable<ELEMENTTYPE>- Returns:
- A 100% deep-copy of the implementing class.
-