- Alle Superschnittstellen:
Collection<Integer>,IntCollection,IntIterable,IntSet,ISizeProvider,Iterable<Integer>,Set<Integer>,SortedSet<Integer>
- Alle bekannten Unterschnittstellen:
IntNavigableSet
- Alle bekannten Implementierungsklassen:
IntAVLTreeSet,IntRBTreeSet
A Type Specific SortedSet implementation to reduce boxing/unboxing
with a couple extra methods that allow greater control over sets.
- Note:
- IntOrderedSet is only extended until 0.6.0 for Compat reasons. The supported classes already implement IntOrderedSet directly and will remove IntSortedSet implementations in favor of IntOrderedSet instead
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.utils.ISizeProvider
ISizeProvider.CollectionSize -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungA Type Specific Comparator methodcopy()A Function that does a shallow clone of the Collection itself.default Integerfirst()Veraltet.intfirstInt()A method to get the first element in the setheadSet(int toElement) A Type Specific HeadSet method to reduce boxing/unboxingdefault IntSortedSetVeraltet.iterator()Returns a Type-Specific Iterator to reduce (un)boxingiterator(int fromElement) A type Specific Iterator starting from a given keydefault Integerlast()Veraltet.intlastInt()A method to get the last element in the setintA method to get and remove the first element in the setintA method to get and remove the last element in the setdefault IntSplititeratorA Type Specific Type Splititerator to reduce boxing/unboxingsubSet(int fromElement, int toElement) A Type Specific SubSet method to reduce boxing/unboxingdefault IntSortedSetVeraltet.default IntSortedSetCreates a Wrapped SortedSet that is Synchronizeddefault IntSortedSetsynchronize(Object mutex) Creates a Wrapped SortedSet that is SynchronizedtailSet(int fromElement) A Type Specific TailSet method to reduce boxing/unboxingdefault IntSortedSetVeraltet.default IntSortedSetCreates a Wrapped SortedSet that is unmodifiableVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, stream, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.ints.collections.IntCollection
add, addAll, addAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toIntArray, toIntArrayVon Schnittstelle geerbte Methoden speiger.src.collections.ints.collections.IntIterable
arrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, forEachIndexed, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sortedVon Schnittstelle geerbte Methoden speiger.src.collections.ints.sets.IntSet
add, contains, remInt, remove, removeVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
size
-
Methodendetails
-
comparator
IntComparator comparator()A Type Specific Comparator method- Angegeben von:
comparatorin SchnittstelleSortedSet<Integer>- Gibt zurück:
- the type specific comparator
-
copy
IntSortedSet copy()Beschreibung aus Schnittstelle kopiert:IntCollectionA Function that does a shallow clone of the Collection itself. This function is more optimized then a copy constructor since the Collection does not have to be unsorted/resorted. It can be compared to Cloneable but with less exception risk- Angegeben von:
copyin SchnittstelleIntCollection- Angegeben von:
copyin SchnittstelleIntSet- Gibt zurück:
- a Shallow Copy of the collection
-
iterator
IntBidirectionalIterator iterator()Beschreibung aus Schnittstelle kopiert:IntCollectionReturns a Type-Specific Iterator to reduce (un)boxing- Angegeben von:
iteratorin SchnittstelleCollection<Integer>- Angegeben von:
iteratorin SchnittstelleIntCollection- Angegeben von:
iteratorin SchnittstelleIntIterable- Angegeben von:
iteratorin SchnittstelleIntSet- Angegeben von:
iteratorin SchnittstelleIterable<Integer>- Angegeben von:
iteratorin SchnittstelleSet<Integer>- Gibt zurück:
- a iterator of the collection
- Siehe auch:
-
iterator
A type Specific Iterator starting from a given key- Parameter:
fromElement- the element the iterator should start from- Gibt zurück:
- a iterator starting from the given element
- Löst aus:
NoSuchElementException- if fromElement isn't found
-
synchronize
Creates a Wrapped SortedSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleIntCollection- Angegeben von:
synchronizein SchnittstelleIntSet- Gibt zurück:
- a new SortedSet that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped SortedSet that is Synchronized- Angegeben von:
synchronizein SchnittstelleIntCollection- Angegeben von:
synchronizein SchnittstelleIntSet- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new SortedSet Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped SortedSet that is unmodifiable- Angegeben von:
unmodifiablein SchnittstelleIntCollection- Angegeben von:
unmodifiablein SchnittstelleIntSet- Gibt zurück:
- a new SortedSet Wrapper that is unmodifiable
- Siehe auch:
-
spliterator
A Type Specific Type Splititerator to reduce boxing/unboxing- Angegeben von:
spliteratorin SchnittstelleCollection<Integer>- Angegeben von:
spliteratorin SchnittstelleIntCollection- Angegeben von:
spliteratorin SchnittstelleIntIterable- Angegeben von:
spliteratorin SchnittstelleIntSet- Angegeben von:
spliteratorin SchnittstelleIterable<Integer>- Angegeben von:
spliteratorin SchnittstelleSet<Integer>- Angegeben von:
spliteratorin SchnittstelleSortedSet<Integer>- Gibt zurück:
- type specific splititerator
-
subSet
A Type Specific SubSet method to reduce boxing/unboxing- Parameter:
fromElement- where the SubSet should starttoElement- where the SubSet should end- Gibt zurück:
- a SubSet that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
headSet
A Type Specific HeadSet method to reduce boxing/unboxing- Parameter:
toElement- where the HeadSet should end- Gibt zurück:
- a HeadSet that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
tailSet
A Type Specific TailSet method to reduce boxing/unboxing- Parameter:
fromElement- where the TailSet should start- Gibt zurück:
- a TailSet that is within the range of the desired range
- Note:
- Some implementations may not support this method., Some implementations may not keep the desired range when the original is changed.
-
firstInt
int firstInt()A method to get the first element in the set- Gibt zurück:
- first element in the set
-
pollFirstInt
int pollFirstInt()A method to get and remove the first element in the set- Gibt zurück:
- first element in the set
-
lastInt
int lastInt()A method to get the last element in the set- Gibt zurück:
- last element in the set
-
pollLastInt
int pollLastInt()A method to get and remove the last element in the set- Gibt zurück:
- last element in the set
-
subSet
Veraltet. -
headSet
Veraltet. -
tailSet
Veraltet. -
first
Veraltet. -
last
Veraltet.
-