Modul speiger.src.collections
Schnittstelle ObjectCollection<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle Superschnittstellen:
Collection<T>,ISizeProvider,Iterable<T>,ObjectIterable<T>
- Alle bekannten Unterschnittstellen:
Byte2BooleanMap.FastEntrySet,Byte2BooleanOrderedMap.FastOrderedSet,Byte2BooleanSortedMap.FastSortedSet,Byte2ByteMap.FastEntrySet,Byte2ByteOrderedMap.FastOrderedSet,Byte2ByteSortedMap.FastSortedSet,Byte2CharMap.FastEntrySet,Byte2CharOrderedMap.FastOrderedSet,Byte2CharSortedMap.FastSortedSet,Byte2DoubleMap.FastEntrySet,Byte2DoubleOrderedMap.FastOrderedSet,Byte2DoubleSortedMap.FastSortedSet,Byte2FloatMap.FastEntrySet,Byte2FloatOrderedMap.FastOrderedSet,Byte2FloatSortedMap.FastSortedSet,Byte2IntMap.FastEntrySet,Byte2IntOrderedMap.FastOrderedSet,Byte2IntSortedMap.FastSortedSet,Byte2LongMap.FastEntrySet,Byte2LongOrderedMap.FastOrderedSet,Byte2LongSortedMap.FastSortedSet,Byte2ObjectMap.FastEntrySet<V>,Byte2ObjectOrderedMap.FastOrderedSet<V>,Byte2ObjectSortedMap.FastSortedSet<V>,Byte2ShortMap.FastEntrySet,Byte2ShortOrderedMap.FastOrderedSet,Byte2ShortSortedMap.FastSortedSet,Char2BooleanMap.FastEntrySet,Char2BooleanOrderedMap.FastOrderedSet,Char2BooleanSortedMap.FastSortedSet,Char2ByteMap.FastEntrySet,Char2ByteOrderedMap.FastOrderedSet,Char2ByteSortedMap.FastSortedSet,Char2CharMap.FastEntrySet,Char2CharOrderedMap.FastOrderedSet,Char2CharSortedMap.FastSortedSet,Char2DoubleMap.FastEntrySet,Char2DoubleOrderedMap.FastOrderedSet,Char2DoubleSortedMap.FastSortedSet,Char2FloatMap.FastEntrySet,Char2FloatOrderedMap.FastOrderedSet,Char2FloatSortedMap.FastSortedSet,Char2IntMap.FastEntrySet,Char2IntOrderedMap.FastOrderedSet,Char2IntSortedMap.FastSortedSet,Char2LongMap.FastEntrySet,Char2LongOrderedMap.FastOrderedSet,Char2LongSortedMap.FastSortedSet,Char2ObjectMap.FastEntrySet<V>,Char2ObjectOrderedMap.FastOrderedSet<V>,Char2ObjectSortedMap.FastSortedSet<V>,Char2ShortMap.FastEntrySet,Char2ShortOrderedMap.FastOrderedSet,Char2ShortSortedMap.FastSortedSet,Double2BooleanMap.FastEntrySet,Double2BooleanOrderedMap.FastOrderedSet,Double2BooleanSortedMap.FastSortedSet,Double2ByteMap.FastEntrySet,Double2ByteOrderedMap.FastOrderedSet,Double2ByteSortedMap.FastSortedSet,Double2CharMap.FastEntrySet,Double2CharOrderedMap.FastOrderedSet,Double2CharSortedMap.FastSortedSet,Double2DoubleMap.FastEntrySet,Double2DoubleOrderedMap.FastOrderedSet,Double2DoubleSortedMap.FastSortedSet,Double2FloatMap.FastEntrySet,Double2FloatOrderedMap.FastOrderedSet,Double2FloatSortedMap.FastSortedSet,Double2IntMap.FastEntrySet,Double2IntOrderedMap.FastOrderedSet,Double2IntSortedMap.FastSortedSet,Double2LongMap.FastEntrySet,Double2LongOrderedMap.FastOrderedSet,Double2LongSortedMap.FastSortedSet,Double2ObjectMap.FastEntrySet<V>,Double2ObjectOrderedMap.FastOrderedSet<V>,Double2ObjectSortedMap.FastSortedSet<V>,Double2ShortMap.FastEntrySet,Double2ShortOrderedMap.FastOrderedSet,Double2ShortSortedMap.FastSortedSet,Float2BooleanMap.FastEntrySet,Float2BooleanOrderedMap.FastOrderedSet,Float2BooleanSortedMap.FastSortedSet,Float2ByteMap.FastEntrySet,Float2ByteOrderedMap.FastOrderedSet,Float2ByteSortedMap.FastSortedSet,Float2CharMap.FastEntrySet,Float2CharOrderedMap.FastOrderedSet,Float2CharSortedMap.FastSortedSet,Float2DoubleMap.FastEntrySet,Float2DoubleOrderedMap.FastOrderedSet,Float2DoubleSortedMap.FastSortedSet,Float2FloatMap.FastEntrySet,Float2FloatOrderedMap.FastOrderedSet,Float2FloatSortedMap.FastSortedSet,Float2IntMap.FastEntrySet,Float2IntOrderedMap.FastOrderedSet,Float2IntSortedMap.FastSortedSet,Float2LongMap.FastEntrySet,Float2LongOrderedMap.FastOrderedSet,Float2LongSortedMap.FastSortedSet,Float2ObjectMap.FastEntrySet<V>,Float2ObjectOrderedMap.FastOrderedSet<V>,Float2ObjectSortedMap.FastSortedSet<V>,Float2ShortMap.FastEntrySet,Float2ShortOrderedMap.FastOrderedSet,Float2ShortSortedMap.FastSortedSet,Int2BooleanMap.FastEntrySet,Int2BooleanOrderedMap.FastOrderedSet,Int2BooleanSortedMap.FastSortedSet,Int2ByteMap.FastEntrySet,Int2ByteOrderedMap.FastOrderedSet,Int2ByteSortedMap.FastSortedSet,Int2CharMap.FastEntrySet,Int2CharOrderedMap.FastOrderedSet,Int2CharSortedMap.FastSortedSet,Int2DoubleMap.FastEntrySet,Int2DoubleOrderedMap.FastOrderedSet,Int2DoubleSortedMap.FastSortedSet,Int2FloatMap.FastEntrySet,Int2FloatOrderedMap.FastOrderedSet,Int2FloatSortedMap.FastSortedSet,Int2IntMap.FastEntrySet,Int2IntOrderedMap.FastOrderedSet,Int2IntSortedMap.FastSortedSet,Int2LongMap.FastEntrySet,Int2LongOrderedMap.FastOrderedSet,Int2LongSortedMap.FastSortedSet,Int2ObjectMap.FastEntrySet<V>,Int2ObjectOrderedMap.FastOrderedSet<V>,Int2ObjectSortedMap.FastSortedSet<V>,Int2ShortMap.FastEntrySet,Int2ShortOrderedMap.FastOrderedSet,Int2ShortSortedMap.FastSortedSet,Long2BooleanMap.FastEntrySet,Long2BooleanOrderedMap.FastOrderedSet,Long2BooleanSortedMap.FastSortedSet,Long2ByteMap.FastEntrySet,Long2ByteOrderedMap.FastOrderedSet,Long2ByteSortedMap.FastSortedSet,Long2CharMap.FastEntrySet,Long2CharOrderedMap.FastOrderedSet,Long2CharSortedMap.FastSortedSet,Long2DoubleMap.FastEntrySet,Long2DoubleOrderedMap.FastOrderedSet,Long2DoubleSortedMap.FastSortedSet,Long2FloatMap.FastEntrySet,Long2FloatOrderedMap.FastOrderedSet,Long2FloatSortedMap.FastSortedSet,Long2IntMap.FastEntrySet,Long2IntOrderedMap.FastOrderedSet,Long2IntSortedMap.FastSortedSet,Long2LongMap.FastEntrySet,Long2LongOrderedMap.FastOrderedSet,Long2LongSortedMap.FastSortedSet,Long2ObjectMap.FastEntrySet<V>,Long2ObjectOrderedMap.FastOrderedSet<V>,Long2ObjectSortedMap.FastSortedSet<V>,Long2ShortMap.FastEntrySet,Long2ShortOrderedMap.FastOrderedSet,Long2ShortSortedMap.FastSortedSet,Object2BooleanMap.FastEntrySet<T>,Object2BooleanOrderedMap.FastOrderedSet<T>,Object2BooleanSortedMap.FastSortedSet<T>,Object2ByteMap.FastEntrySet<T>,Object2ByteOrderedMap.FastOrderedSet<T>,Object2ByteSortedMap.FastSortedSet<T>,Object2CharMap.FastEntrySet<T>,Object2CharOrderedMap.FastOrderedSet<T>,Object2CharSortedMap.FastSortedSet<T>,Object2DoubleMap.FastEntrySet<T>,Object2DoubleOrderedMap.FastOrderedSet<T>,Object2DoubleSortedMap.FastSortedSet<T>,Object2FloatMap.FastEntrySet<T>,Object2FloatOrderedMap.FastOrderedSet<T>,Object2FloatSortedMap.FastSortedSet<T>,Object2IntMap.FastEntrySet<T>,Object2IntOrderedMap.FastOrderedSet<T>,Object2IntSortedMap.FastSortedSet<T>,Object2LongMap.FastEntrySet<T>,Object2LongOrderedMap.FastOrderedSet<T>,Object2LongSortedMap.FastSortedSet<T>,Object2ObjectMap.FastEntrySet<T,,V> Object2ObjectOrderedMap.FastOrderedSet<T,,V> Object2ObjectSortedMap.FastSortedSet<T,,V> Object2ShortMap.FastEntrySet<T>,Object2ShortOrderedMap.FastOrderedSet<T>,Object2ShortSortedMap.FastSortedSet<T>,ObjectList<T>,ObjectNavigableSet<T>,ObjectOrderedSet<T>,ObjectSet<T>,ObjectSortedSet<T>,Short2BooleanMap.FastEntrySet,Short2BooleanOrderedMap.FastOrderedSet,Short2BooleanSortedMap.FastSortedSet,Short2ByteMap.FastEntrySet,Short2ByteOrderedMap.FastOrderedSet,Short2ByteSortedMap.FastSortedSet,Short2CharMap.FastEntrySet,Short2CharOrderedMap.FastOrderedSet,Short2CharSortedMap.FastSortedSet,Short2DoubleMap.FastEntrySet,Short2DoubleOrderedMap.FastOrderedSet,Short2DoubleSortedMap.FastSortedSet,Short2FloatMap.FastEntrySet,Short2FloatOrderedMap.FastOrderedSet,Short2FloatSortedMap.FastSortedSet,Short2IntMap.FastEntrySet,Short2IntOrderedMap.FastOrderedSet,Short2IntSortedMap.FastSortedSet,Short2LongMap.FastEntrySet,Short2LongOrderedMap.FastOrderedSet,Short2LongSortedMap.FastSortedSet,Short2ObjectMap.FastEntrySet<V>,Short2ObjectOrderedMap.FastOrderedSet<V>,Short2ObjectSortedMap.FastSortedSet<V>,Short2ShortMap.FastEntrySet,Short2ShortOrderedMap.FastOrderedSet,Short2ShortSortedMap.FastSortedSet
- Alle bekannten Implementierungsklassen:
AbstractObjectCollection,AbstractObjectList,AbstractObjectSet,Byte2BooleanMaps.UnmodifyableEntrySet,Byte2BooleanMaps.UnmodifyableOrderedEntrySet,Byte2ByteMaps.UnmodifyableEntrySet,Byte2ByteMaps.UnmodifyableOrderedEntrySet,Byte2CharMaps.UnmodifyableEntrySet,Byte2CharMaps.UnmodifyableOrderedEntrySet,Byte2DoubleMaps.UnmodifyableEntrySet,Byte2DoubleMaps.UnmodifyableOrderedEntrySet,Byte2FloatMaps.UnmodifyableEntrySet,Byte2FloatMaps.UnmodifyableOrderedEntrySet,Byte2IntMaps.UnmodifyableEntrySet,Byte2IntMaps.UnmodifyableOrderedEntrySet,Byte2LongMaps.UnmodifyableEntrySet,Byte2LongMaps.UnmodifyableOrderedEntrySet,Byte2ObjectMaps.UnmodifyableEntrySet,Byte2ObjectMaps.UnmodifyableOrderedEntrySet,Byte2ShortMaps.UnmodifyableEntrySet,Byte2ShortMaps.UnmodifyableOrderedEntrySet,Char2BooleanMaps.UnmodifyableEntrySet,Char2BooleanMaps.UnmodifyableOrderedEntrySet,Char2ByteMaps.UnmodifyableEntrySet,Char2ByteMaps.UnmodifyableOrderedEntrySet,Char2CharMaps.UnmodifyableEntrySet,Char2CharMaps.UnmodifyableOrderedEntrySet,Char2DoubleMaps.UnmodifyableEntrySet,Char2DoubleMaps.UnmodifyableOrderedEntrySet,Char2FloatMaps.UnmodifyableEntrySet,Char2FloatMaps.UnmodifyableOrderedEntrySet,Char2IntMaps.UnmodifyableEntrySet,Char2IntMaps.UnmodifyableOrderedEntrySet,Char2LongMaps.UnmodifyableEntrySet,Char2LongMaps.UnmodifyableOrderedEntrySet,Char2ObjectMaps.UnmodifyableEntrySet,Char2ObjectMaps.UnmodifyableOrderedEntrySet,Char2ShortMaps.UnmodifyableEntrySet,Char2ShortMaps.UnmodifyableOrderedEntrySet,CopyOnWriteObjectArrayList,Double2BooleanMaps.UnmodifyableEntrySet,Double2BooleanMaps.UnmodifyableOrderedEntrySet,Double2ByteMaps.UnmodifyableEntrySet,Double2ByteMaps.UnmodifyableOrderedEntrySet,Double2CharMaps.UnmodifyableEntrySet,Double2CharMaps.UnmodifyableOrderedEntrySet,Double2DoubleMaps.UnmodifyableEntrySet,Double2DoubleMaps.UnmodifyableOrderedEntrySet,Double2FloatMaps.UnmodifyableEntrySet,Double2FloatMaps.UnmodifyableOrderedEntrySet,Double2IntMaps.UnmodifyableEntrySet,Double2IntMaps.UnmodifyableOrderedEntrySet,Double2LongMaps.UnmodifyableEntrySet,Double2LongMaps.UnmodifyableOrderedEntrySet,Double2ObjectMaps.UnmodifyableEntrySet,Double2ObjectMaps.UnmodifyableOrderedEntrySet,Double2ShortMaps.UnmodifyableEntrySet,Double2ShortMaps.UnmodifyableOrderedEntrySet,Float2BooleanMaps.UnmodifyableEntrySet,Float2BooleanMaps.UnmodifyableOrderedEntrySet,Float2ByteMaps.UnmodifyableEntrySet,Float2ByteMaps.UnmodifyableOrderedEntrySet,Float2CharMaps.UnmodifyableEntrySet,Float2CharMaps.UnmodifyableOrderedEntrySet,Float2DoubleMaps.UnmodifyableEntrySet,Float2DoubleMaps.UnmodifyableOrderedEntrySet,Float2FloatMaps.UnmodifyableEntrySet,Float2FloatMaps.UnmodifyableOrderedEntrySet,Float2IntMaps.UnmodifyableEntrySet,Float2IntMaps.UnmodifyableOrderedEntrySet,Float2LongMaps.UnmodifyableEntrySet,Float2LongMaps.UnmodifyableOrderedEntrySet,Float2ObjectMaps.UnmodifyableEntrySet,Float2ObjectMaps.UnmodifyableOrderedEntrySet,Float2ShortMaps.UnmodifyableEntrySet,Float2ShortMaps.UnmodifyableOrderedEntrySet,ImmutableObjectList,ImmutableObjectOpenHashSet,Int2BooleanMaps.UnmodifyableEntrySet,Int2BooleanMaps.UnmodifyableOrderedEntrySet,Int2ByteMaps.UnmodifyableEntrySet,Int2ByteMaps.UnmodifyableOrderedEntrySet,Int2CharMaps.UnmodifyableEntrySet,Int2CharMaps.UnmodifyableOrderedEntrySet,Int2DoubleMaps.UnmodifyableEntrySet,Int2DoubleMaps.UnmodifyableOrderedEntrySet,Int2FloatMaps.UnmodifyableEntrySet,Int2FloatMaps.UnmodifyableOrderedEntrySet,Int2IntMaps.UnmodifyableEntrySet,Int2IntMaps.UnmodifyableOrderedEntrySet,Int2LongMaps.UnmodifyableEntrySet,Int2LongMaps.UnmodifyableOrderedEntrySet,Int2ObjectMaps.UnmodifyableEntrySet,Int2ObjectMaps.UnmodifyableOrderedEntrySet,Int2ShortMaps.UnmodifyableEntrySet,Int2ShortMaps.UnmodifyableOrderedEntrySet,Long2BooleanMaps.UnmodifyableEntrySet,Long2BooleanMaps.UnmodifyableOrderedEntrySet,Long2ByteMaps.UnmodifyableEntrySet,Long2ByteMaps.UnmodifyableOrderedEntrySet,Long2CharMaps.UnmodifyableEntrySet,Long2CharMaps.UnmodifyableOrderedEntrySet,Long2DoubleMaps.UnmodifyableEntrySet,Long2DoubleMaps.UnmodifyableOrderedEntrySet,Long2FloatMaps.UnmodifyableEntrySet,Long2FloatMaps.UnmodifyableOrderedEntrySet,Long2IntMaps.UnmodifyableEntrySet,Long2IntMaps.UnmodifyableOrderedEntrySet,Long2LongMaps.UnmodifyableEntrySet,Long2LongMaps.UnmodifyableOrderedEntrySet,Long2ObjectMaps.UnmodifyableEntrySet,Long2ObjectMaps.UnmodifyableOrderedEntrySet,Long2ShortMaps.UnmodifyableEntrySet,Long2ShortMaps.UnmodifyableOrderedEntrySet,Object2BooleanMaps.UnmodifyableEntrySet,Object2BooleanMaps.UnmodifyableOrderedEntrySet,Object2ByteMaps.UnmodifyableEntrySet,Object2ByteMaps.UnmodifyableOrderedEntrySet,Object2CharMaps.UnmodifyableEntrySet,Object2CharMaps.UnmodifyableOrderedEntrySet,Object2DoubleMaps.UnmodifyableEntrySet,Object2DoubleMaps.UnmodifyableOrderedEntrySet,Object2FloatMaps.UnmodifyableEntrySet,Object2FloatMaps.UnmodifyableOrderedEntrySet,Object2IntMaps.UnmodifyableEntrySet,Object2IntMaps.UnmodifyableOrderedEntrySet,Object2LongMaps.UnmodifyableEntrySet,Object2LongMaps.UnmodifyableOrderedEntrySet,Object2ObjectMaps.UnmodifyableEntrySet,Object2ObjectMaps.UnmodifyableOrderedEntrySet,Object2ShortMaps.UnmodifyableEntrySet,Object2ShortMaps.UnmodifyableOrderedEntrySet,ObjectArrayList,ObjectArraySet,ObjectAVLTreeSet,ObjectCollections.EmptyCollection,ObjectCollections.SynchronizedCollection,ObjectCollections.UnmodifiableCollection,ObjectLinkedList,ObjectLinkedOpenCustomHashSet,ObjectLinkedOpenHashSet,ObjectOpenCustomHashSet,ObjectOpenHashSet,ObjectRBTreeSet,ObjectSets.UnmodifiableSet,Short2BooleanMaps.UnmodifyableEntrySet,Short2BooleanMaps.UnmodifyableOrderedEntrySet,Short2ByteMaps.UnmodifyableEntrySet,Short2ByteMaps.UnmodifyableOrderedEntrySet,Short2CharMaps.UnmodifyableEntrySet,Short2CharMaps.UnmodifyableOrderedEntrySet,Short2DoubleMaps.UnmodifyableEntrySet,Short2DoubleMaps.UnmodifyableOrderedEntrySet,Short2FloatMaps.UnmodifyableEntrySet,Short2FloatMaps.UnmodifyableOrderedEntrySet,Short2IntMaps.UnmodifyableEntrySet,Short2IntMaps.UnmodifyableOrderedEntrySet,Short2LongMaps.UnmodifyableEntrySet,Short2LongMaps.UnmodifyableOrderedEntrySet,Short2ObjectMaps.UnmodifyableEntrySet,Short2ObjectMaps.UnmodifyableOrderedEntrySet,Short2ShortMaps.UnmodifyableEntrySet,Short2ShortMaps.UnmodifyableOrderedEntrySet
A Type-Specific
Collection that reduces (un)boxing-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.utils.ISizeProvider
ISizeProvider.CollectionSize -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanaddAll(ObjectCollection<T> c) A Type-Specific addAll function to reduce (un)boxingdefault booleanA Type-Specific Array based addAll method to reduce the amount of Wrappingdefault booleanA Type-Specific Array based addAll method to reduce the amount of Wrappingdefault booleanA Type-Specific Array based addAll method to reduce the amount of WrappingbooleanA Type-Specific containsAll function to reduce (un)boxingbooleancontainsAny(Collection<?> c) Returns true if any element of the Collection is found in the provided collection.booleanA Type-Specific containsAny function to reduce (un)boxingcopy()A Function that does a shallow clone of the Collection itself.iterator()Returns a Type-Specific Iterator to reduce (un)boxingdefault <E extends ObjectCollection<T>>
Epour(E collection) A Helper function to reduce the usage of Streams and allows to collect all elementsbooleanA Type-Specific removeAll function that reduces (un)boxing.booleanremoveAll(ObjectCollection<T> c, Consumer<T> r) A Type-Specific removeAll function that reduces (un)boxing.booleanA Type-Specific retainAll function that reduces (un)boxing.booleanretainAll(ObjectCollection<T> c, Consumer<T> r) A Type-Specific retainAll function that reduces (un)boxing.default ObjectSplititerator<T>A Type Specific Type Splititerator to reduce boxing/unboxingdefault ObjectCollection<T>Creates a Wrapped Collection that is Synchronizeddefault ObjectCollection<T>synchronize(Object mutex) Creates a Wrapped Collection that is Synchronizeddefault <E> E[]toArray(IntFunction<E[]> action) A Helper function that simplifies the process of creating a new Array.default ObjectCollection<T>Creates a Wrapped Collection that is unmodifiableVon Schnittstelle geerbte Methoden java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, size, stream, toArray, toArrayVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ISizeProvider
sizeVon Schnittstelle geerbte Methoden speiger.src.collections.objects.collections.ObjectIterable
arrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEachIndexed, limit, map, mapToBoolean, mapToByte, mapToDouble, mapToFloat, mapToInt, mapToLong, mapToShort, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, repeat, sorted
-
Methodendetails
-
addAll
A Type-Specific addAll function to reduce (un)boxing- Parameter:
c- the collection of elements that should be added- Gibt zurück:
- true if elements were added into the collection
-
addAll
A Type-Specific Array based addAll method to reduce the amount of Wrapping- Parameter:
e- the elements that should be added- Gibt zurück:
- if the collection was modified
-
addAll
A Type-Specific Array based addAll method to reduce the amount of Wrapping- Parameter:
e- the elements that should be addedlength- how many elements of the array should be added- Gibt zurück:
- if the collection was modified
-
addAll
A Type-Specific Array based addAll method to reduce the amount of Wrapping- Parameter:
e- the elements that should be addedoffset- where to start within the arraylength- how many elements of the array should be added- Gibt zurück:
- if the collection was modified
-
containsAll
A Type-Specific containsAll function to reduce (un)boxing- Parameter:
c- the collection of elements that should be tested for- Gibt zurück:
- true if all the element is found in the collection
-
containsAny
A Type-Specific containsAny function to reduce (un)boxing- Parameter:
c- the collection of elements that should be tested for- Gibt zurück:
- true if any element was found
-
containsAny
Returns true if any element of the Collection is found in the provided collection. A Small Optimization function to find out of any element is present when comparing collections and not all of them.- Parameter:
c- the collection of elements that should be tested for- Gibt zurück:
- true if any element was found.
-
removeAll
A Type-Specific removeAll function that reduces (un)boxing.- Parameter:
c- the collection of elements that should be removed- Gibt zurück:
- true if any element was removed
- Siehe auch:
-
removeAll
A Type-Specific removeAll function that reduces (un)boxing. It also notifies the remover of which exact element is going to be removed.- Parameter:
c- the collection of elements that should be removedr- elements that got removed- Gibt zurück:
- true if any element was removed
- Siehe auch:
-
retainAll
A Type-Specific retainAll function that reduces (un)boxing.- Parameter:
c- the collection of elements that should be kept- Gibt zurück:
- true if any element was removed
- Siehe auch:
-
retainAll
A Type-Specific retainAll function that reduces (un)boxing. It also notifies the remover of which exact element is going to be removed.- Parameter:
c- the collection of elements that should be keptr- elements that got removed- Gibt zurück:
- true if any element was removed
- Siehe auch:
-
pour
A Helper function to reduce the usage of Streams and allows to collect all elements- Angegeben von:
pourin SchnittstelleObjectIterable<T>- Typparameter:
E- the collection type- Parameter:
collection- that the elements should be inserted to- Gibt zurück:
- the input with the desired elements
-
copy
ObjectCollection<T> copy()A 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- Gibt zurück:
- a Shallow Copy of the collection
- Note:
- Wrappers and view collections will not support this feature
-
toArray
A Helper function that simplifies the process of creating a new Array.- Angegeben von:
toArrayin SchnittstelleCollection<T>- Angegeben von:
toArrayin SchnittstelleObjectIterable<T>- Typparameter:
E- the returning arrayType- Parameter:
action- the array creation function- Gibt zurück:
- an array containing all of the elements in this collection
- Siehe auch:
-
iterator
ObjectIterator<T> iterator()Returns a Type-Specific Iterator to reduce (un)boxing- Angegeben von:
iteratorin SchnittstelleCollection<T>- Angegeben von:
iteratorin SchnittstelleIterable<T>- Angegeben von:
iteratorin SchnittstelleObjectIterable<T>- Gibt zurück:
- a iterator of the collection
- Siehe auch:
-
synchronize
Creates a Wrapped Collection that is Synchronized- Gibt zurück:
- a new Collection that is synchronized
- Siehe auch:
-
synchronize
Creates a Wrapped Collection that is Synchronized- Parameter:
mutex- is the controller of the synchronization block- Gibt zurück:
- a new Collection Wrapper that is synchronized
- Siehe auch:
-
unmodifiable
Creates a Wrapped Collection that is unmodifiable- Gibt zurück:
- a new Collection Wrapper that is unmodifiable
- Siehe auch:
-
spliterator
A Type Specific Type Splititerator to reduce boxing/unboxing- Angegeben von:
spliteratorin SchnittstelleCollection<T>- Angegeben von:
spliteratorin SchnittstelleIterable<T>- Angegeben von:
spliteratorin SchnittstelleObjectIterable<T>- Gibt zurück:
- type specific splititerator
-