Modul speiger.src.collections
Klasse CopyOnWriteObjectArrayList<T>
java.lang.Object
java.util.AbstractCollection<T>
speiger.src.collections.objects.collections.AbstractObjectCollection<T>
speiger.src.collections.objects.lists.AbstractObjectList<T>
speiger.src.collections.objects.lists.CopyOnWriteObjectArrayList<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle implementierten Schnittstellen:
Iterable<T>,Collection<T>,List<T>,ObjectCollection<T>,ObjectIterable<T>,ObjectList<T>,ISizeProvider,ITrimmable,Stack<T>
public class CopyOnWriteObjectArrayList<T>
extends AbstractObjectList<T>
implements ITrimmable, Stack<T>
A Type-Specific Array-based implementation of list that is written to reduce (un)boxing
This implementation is optimized to improve how data is processed with interfaces like ITrimmable, Stack
and with optimized functions that use type-specific implementations for primitives and optimized logic for bulkactions.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen speiger.src.collections.utils.ISizeProvider
ISizeProvider.CollectionSize -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new ArrayList with a Empty array.CopyOnWriteObjectArrayList(Collection<? extends T> c) Veraltet.Creates a new ArrayList a copy with the contents of the Collection.Creates a new ArrayList a copy with the contents of the List.CopyOnWriteObjectArrayList(T... a) Creates a new ArrayList with a Copy of the arrayCopyOnWriteObjectArrayList(T[] a, int length) Creates a new ArrayList with a Copy of the array with a custom lengthCopyOnWriteObjectArrayList(T[] a, int offset, int length) Creates a new ArrayList with a Copy of the array with in the custom range. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAppends the specified element to the index of the listbooleanAppends the specified element to the end of this list.booleanaddAll(int index, Collection<? extends T> c) Veraltet.booleanaddAll(int index, ObjectCollection<T> c) Appends the specified elements to the index of the list.booleanaddAll(int index, ObjectList<T> c) Appends the specified elements to the index of the list.booleanA Type-Specific Array based addAll method to reduce the amount of WrappingvoidaddElements(int from, T[] a, int offset, int length) Appends the specified array elements to the index of the list.voidclear()A function to clear all elements in the list.voidclearAndTrim(int size) Trims the collection down to the requested size and clears all elements while doing sobooleanVeraltet.copy()A Function that does a shallow clone of the Collection itself.intHelper function to reduce stream usage that allows to count the valid elements.<K> K[]extractElements(int from, int to, Class<K> type) A function to fast extract elements out of the list, this removes the elements that were fetched.Helper function to reduce stream usage that allows to filter for the first match.<E> voidforEach(E input, ObjectObjectConsumer<E, T> action) Helper function to reduce Lambda usage and allow for more method references, since these are faster/cleaner.voidA Type Specific foreach function that reduces (un)boxingget(int index) A Type-Specific get function to reduce (un)boxingT[]getElements(int from, T[] a, int offset, int length) A function to fast fetch elements from the listintVeraltet.intVeraltet.listIterator(int index) A Type-Specific Iterator of listIteratorbooleanmatchesAll(Predicate<T> filter) Helper function to reduce stream usage that allows to filter for all matches.booleanmatchesAny(Predicate<T> filter) Helper function to reduce stream usage that allows to filter for any matches.booleanmatchesNone(Predicate<T> filter) Helper function to reduce stream usage that allows to filter for no matches.static <T> CopyOnWriteObjectArrayList<T>Creates a new ArrayList with a EmptyObject array of the Type requestedpeek(int index) Provides the Selected Object from the stack.pop()A Type-Specific pop function to reduce (un)boxingvoidAppends the specified element to the end of this Stack.<E> Ereduce(E identity, BiFunction<E, T, E> operator) Performs a reduction on the elements of this Iterablereduce(ObjectObjectUnaryOperator<T, T> operator) Performs a reduction on the elements of this Iterableremove(int index) A Type-Specific remove function to reduce (un)boxingbooleanbooleanremoveAll(Collection<?> c) Veraltet.booleanA function to remove all elements that were provided in the other collectionbooleanremoveAll(ObjectCollection<T> c, Consumer<T> r) A Type-Specific removeAll function that reduces (un)boxing.voidremoveElements(int from, int to) a function to fast remove elements from the list.booleanVeraltet.voidreplaceAll(UnaryOperator<T> o) A function to replace all values in the listbooleanretainAll(Collection<?> c) Veraltet.booleanA function to retain all elements that were provided in the other collection This function might delegate to a more appropriate function if necessarybooleanretainAll(ObjectCollection<T> c, Consumer<T> r) A Type-Specific retainAll function that reduces (un)boxing.A Type-Specific set function to reduce (un)boxingintsize()A function to return the size of the listvoidsize(int size) A function to ensure the elements are within the requested size.voidsort(Comparator<? super T> c) Sorts the elements specified by the Natural order either by using the Comparator or the elementsA Type Specific Type Splititerator to reduce boxing/unboxingsubList(int fromIndex, int toIndex) A Type-Specific List of subListswapRemove(int index) A Highly Optimized remove function that removes the desired element.Object[]toArray()A toArray implementation that ensures the Array itself is a Object.<E> E[]toArray(E[] a) A toArray implementation that ensures the Array itself is a Object.<E> E[]toArray(IntFunction<E[]> action) A Helper function that simplifies the process of creating a new Array.booleantrim(int size) Trims the original collection down to the size of the current elements or the requested size depending which is biggervoidunstableSort(Comparator<? super T> c) Sorts the elements specified by the Natural order either by using the Comparator or the elements using a unstable sortVon Klasse geerbte Methoden speiger.src.collections.objects.lists.AbstractObjectList
addAll, addAll, addAll, equals, hashCode, indexedIterator, indexedIterator, iterator, listIterator, reversed, swapRemoveVon Klasse geerbte Methoden speiger.src.collections.objects.collections.AbstractObjectCollection
containsAll, containsAll, containsAny, containsAnyVon Klasse geerbte Methoden java.util.AbstractCollection
isEmpty, toStringVon Schnittstelle geerbte Methoden java.util.Collection
parallelStream, streamVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ITrimmable
clearAndTrim, trimVon Schnittstelle geerbte Methoden java.util.List
containsAll, isEmptyVon Schnittstelle geerbte Methoden speiger.src.collections.objects.collections.ObjectCollection
addAll, addAll, containsAll, containsAny, containsAny, pourVon Schnittstelle geerbte Methoden speiger.src.collections.objects.collections.ObjectIterable
arrayflatMap, asAsync, distinct, filter, flatMap, limit, map, mapToBoolean, mapToByte, mapToDouble, mapToFloat, mapToInt, mapToLong, mapToShort, peek, pourAsList, pourAsSet, repeat, sortedVon Schnittstelle geerbte Methoden speiger.src.collections.objects.lists.ObjectList
addElements, addElements, addIfAbsent, addIfPresent, forEachIndexed, getElements, getFirst, getLast, removeFirst, removeLast, synchronize, synchronize, unmodifiable
-
Konstruktordetails
-
CopyOnWriteObjectArrayList
public CopyOnWriteObjectArrayList()Creates a new ArrayList with a Empty array. -
CopyOnWriteObjectArrayList
Veraltet.Creates a new ArrayList a copy with the contents of the Collection.- Parameter:
c- the elements that should be added into the list
-
CopyOnWriteObjectArrayList
Creates a new ArrayList a copy with the contents of the Collection.- Parameter:
c- the elements that should be added into the list
-
CopyOnWriteObjectArrayList
Creates a new ArrayList a copy with the contents of the List.- Parameter:
l- the elements that should be added into the list
-
CopyOnWriteObjectArrayList
Creates a new ArrayList with a Copy of the array- Parameter:
a- the array that should be copied
-
CopyOnWriteObjectArrayList
Creates a new ArrayList with a Copy of the array with a custom length- Parameter:
a- the array that should be copiedlength- the desired length that should be copied
-
CopyOnWriteObjectArrayList
Creates a new ArrayList with a Copy of the array with in the custom range.- Parameter:
a- the array that should be copiedoffset- the starting offset of where the array should be copied fromlength- the desired length that should be copied- Löst aus:
IllegalStateException- if offset is smaller then 0IllegalStateException- if the offset + length exceeds the array length
-
-
Methodendetails
-
of
Creates a new ArrayList with a EmptyObject array of the Type requested- Typparameter:
T- the keyType of elements maintained by this Collection- Parameter:
c- the type of the array- Gibt zurück:
- a typed List
-
add
Appends the specified element to the end of this list.- Angegeben von:
addin SchnittstelleCollection<T>- Angegeben von:
addin SchnittstelleList<T>- Setzt außer Kraft:
addin KlasseAbstractObjectList<T>- Parameter:
e- element to be appended to this list- Gibt zurück:
- true (as specified by
Collection.add(E))
-
push
Appends the specified element to the end of this Stack. -
add
Appends the specified element to the index of the list- Angegeben von:
addin SchnittstelleList<T>- Parameter:
index- the index where to append the element toe- the element to append to the list- Löst aus:
IndexOutOfBoundsException- if index is outside of the lists range
-
addAll
Veraltet.Appends the specified elements to the index of the list. This function may delegate to more appropriate function if necessary- Angegeben von:
addAllin SchnittstelleList<T>- Parameter:
index- the index where to append the elements toc- the elements to append to the list- Löst aus:
IndexOutOfBoundsException- if index is outside of the lists rangeNullPointerException- if collection contains a null element
-
addAll
Appends the specified elements to the index of the list. This function may delegate to more appropriate function if necessary- Angegeben von:
addAllin SchnittstelleObjectList<T>- Parameter:
index- the index where to append the elements toc- the elements to append to the list- Gibt zurück:
- true if the list was modified
- Löst aus:
IndexOutOfBoundsException- if index is outside of the lists range- Siehe auch:
-
addAll
Appends the specified elements to the index of the list.- Angegeben von:
addAllin SchnittstelleObjectList<T>- Parameter:
index- the index where to append the elements toc- the elements to append to the list- Gibt zurück:
- true if the list was modified
- Löst aus:
IndexOutOfBoundsException- if index is outside of the lists range
-
addAll
Beschreibung aus Schnittstelle kopiert:ObjectCollectionA Type-Specific Array based addAll method to reduce the amount of Wrapping- Angegeben von:
addAllin SchnittstelleObjectCollection<T>- 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
-
addElements
Appends the specified array elements to the index of the list.- Angegeben von:
addElementsin SchnittstelleObjectList<T>- Parameter:
from- the index where to append the elements toa- the elements to append to the listoffset- where to start ino the arraylength- the amount of elements to insert- Löst aus:
IndexOutOfBoundsException- if index is outside of the lists range
-
getElements
A function to fast fetch elements from the list- Angegeben von:
getElementsin SchnittstelleObjectList<T>- Parameter:
from- index where the list should be fetching elements froma- the array where the values should be inserted tooffset- the startIndex of where the array should be written tolength- the number of elements the values should be fetched from- Gibt zurück:
- the inputArray
- Löst aus:
NullPointerException- if the array is nullIndexOutOfBoundsException- if from is outside of the lists rangeIllegalStateException- if offset or length are smaller then 0 or exceed the array length
-
removeElements
public void removeElements(int from, int to) a function to fast remove elements from the list.- Angegeben von:
removeElementsin SchnittstelleObjectList<T>- Parameter:
from- the start index of where the elements should be removed from (inclusive)to- the end index of where the elements should be removed to (exclusive)
-
extractElements
A function to fast extract elements out of the list, this removes the elements that were fetched.- Angegeben von:
extractElementsin SchnittstelleObjectList<T>- Typparameter:
K- the keyType of elements maintained by this Collection- Parameter:
from- the start index of where the elements should be fetched from (inclusive)to- the end index of where the elements should be fetched to (exclusive)type- the type of the OutputArray- Gibt zurück:
- a array of the elements that were fetched
-
contains
Veraltet.A function to find if the Element is present in this list.- Angegeben von:
containsin SchnittstelleCollection<T>- Angegeben von:
containsin SchnittstelleList<T>- Setzt außer Kraft:
containsin KlasseAbstractCollection<T>- Parameter:
o- the element that is searched for- Gibt zurück:
- if the element was found.
-
indexOf
Veraltet.A function to find the index of a given element -
lastIndexOf
Veraltet.A function to find the last index of a given element- Angegeben von:
lastIndexOfin SchnittstelleList<T>- Setzt außer Kraft:
lastIndexOfin KlasseAbstractObjectList<T>- Parameter:
o- the element that is searched for- Gibt zurück:
- the last index of the element if found. (if not found then -1)
-
sort
Sorts the elements specified by the Natural order either by using the Comparator or the elements -
unstableSort
Sorts the elements specified by the Natural order either by using the Comparator or the elements using a unstable sort- Angegeben von:
unstableSortin SchnittstelleObjectList<T>- Parameter:
c- the sorter of the elements, can be null- Siehe auch:
-
get
A Type-Specific get function to reduce (un)boxing- Angegeben von:
getin SchnittstelleList<T>- Parameter:
index- the index of the element to fetch- Gibt zurück:
- the value of the requested index
- Löst aus:
IndexOutOfBoundsException- if the index is out of range
-
peek
Provides the Selected Object from the stack. Top to bottom- Angegeben von:
peekin SchnittstelleStack<T>- Parameter:
index- of the element that should be provided- Gibt zurück:
- the element that was requested
- Löst aus:
ArrayIndexOutOfBoundsException- if the index is out of bounds- Siehe auch:
-
listIterator
Beschreibung aus Schnittstelle kopiert:ObjectListA Type-Specific Iterator of listIterator- Angegeben von:
listIteratorin SchnittstelleList<T>- Angegeben von:
listIteratorin SchnittstelleObjectList<T>- Setzt außer Kraft:
listIteratorin KlasseAbstractObjectList<T>- Siehe auch:
-
subList
Beschreibung aus Schnittstelle kopiert:ObjectListA Type-Specific List of subList- Angegeben von:
subListin SchnittstelleList<T>- Angegeben von:
subListin SchnittstelleObjectList<T>- Setzt außer Kraft:
subListin KlasseAbstractObjectList<T>- Siehe auch:
-
forEach
A Type Specific foreach function that reduces (un)boxing- Angegeben von:
forEachin SchnittstelleIterable<T>- Parameter:
action- The action to be performed for each element- Löst aus:
NullPointerException- if the specified action is null- Siehe auch:
- ImplSpec:
The default implementation behaves as if:
for(int i = 0,m=data.length;i<m;i++) action.accept(data[i]);
-
forEach
Beschreibung aus Schnittstelle kopiert:ObjectIterableHelper function to reduce Lambda usage and allow for more method references, since these are faster/cleaner.- Angegeben von:
forEachin SchnittstelleObjectIterable<T>- Typparameter:
E- the generic type of the Object- Parameter:
input- the object that should be includedaction- The action to be performed for each element
-
matchesAny
Beschreibung aus Schnittstelle kopiert:ObjectIterableHelper function to reduce stream usage that allows to filter for any matches.- Angegeben von:
matchesAnyin SchnittstelleObjectIterable<T>- Parameter:
filter- that should be applied- Gibt zurück:
- true if any matches were found
-
matchesNone
Beschreibung aus Schnittstelle kopiert:ObjectIterableHelper function to reduce stream usage that allows to filter for no matches.- Angegeben von:
matchesNonein SchnittstelleObjectIterable<T>- Parameter:
filter- that should be applied- Gibt zurück:
- true if no matches were found
-
matchesAll
Beschreibung aus Schnittstelle kopiert:ObjectIterableHelper function to reduce stream usage that allows to filter for all matches.- Angegeben von:
matchesAllin SchnittstelleObjectIterable<T>- Parameter:
filter- that should be applied- Gibt zurück:
- true if all matches.
-
findFirst
Beschreibung aus Schnittstelle kopiert:ObjectIterableHelper function to reduce stream usage that allows to filter for the first match.- Angegeben von:
findFirstin SchnittstelleObjectIterable<T>- Parameter:
filter- that should be applied- Gibt zurück:
- the found value or the null equivalent variant.
-
reduce
Beschreibung aus Schnittstelle kopiert:ObjectIterablePerforms a reduction on the elements of this Iterable- Angegeben von:
reducein SchnittstelleObjectIterable<T>- Typparameter:
E- the keyType of elements maintained by this Collection- Parameter:
identity- the start valueoperator- the operation that should be applied- Gibt zurück:
- the reduction result, returns identity if nothing was found
-
reduce
Beschreibung aus Schnittstelle kopiert:ObjectIterablePerforms a reduction on the elements of this Iterable- Angegeben von:
reducein SchnittstelleObjectIterable<T>- Parameter:
operator- the operation that should be applied- Gibt zurück:
- the reduction result, returns null value if nothing was found
-
count
Beschreibung aus Schnittstelle kopiert:ObjectIterableHelper function to reduce stream usage that allows to count the valid elements.- Angegeben von:
countin SchnittstelleObjectIterable<T>- Parameter:
filter- that should be applied- Gibt zurück:
- the amount of Valid Elements
-
set
A Type-Specific set function to reduce (un)boxing- Angegeben von:
setin SchnittstelleList<T>- Parameter:
index- the index of the element to sete- the value that should be set- Gibt zurück:
- the previous element
- Löst aus:
IndexOutOfBoundsException- if the index is out of range
-
replaceAll
A function to replace all values in the list- Angegeben von:
replaceAllin SchnittstelleList<T>- Angegeben von:
replaceAllin SchnittstelleObjectList<T>- Parameter:
o- the action to replace the values- Löst aus:
NullPointerException- if o is null
-
remove
A Type-Specific remove function to reduce (un)boxing- Angegeben von:
removein SchnittstelleList<T>- Parameter:
index- the index of the element to fetch- Gibt zurück:
- the value of the requested index
- Löst aus:
IndexOutOfBoundsException- if the index is out of range
-
swapRemove
Beschreibung aus Schnittstelle kopiert:ObjectListA Highly Optimized remove function that removes the desired element. But instead of shifting the elements to the left it moves the last element to the removed space.- Angegeben von:
swapRemovein SchnittstelleObjectList<T>- Parameter:
index- the index of the element to be removed- Gibt zurück:
- the element previously at the specified position
-
remove
- Angegeben von:
removein SchnittstelleCollection<T>- Angegeben von:
removein SchnittstelleList<T>- Setzt außer Kraft:
removein KlasseAbstractCollection<T>
-
pop
A Type-Specific pop function to reduce (un)boxing- Angegeben von:
popin SchnittstelleStack<T>- Gibt zurück:
- the value of the requested index
- Löst aus:
IndexOutOfBoundsException- if the index is out of range
-
removeAll
Veraltet.A function to remove all elements that were provided in the other collection This function might delegate to a more appropriate function if necessary- Angegeben von:
removeAllin SchnittstelleCollection<T>- Angegeben von:
removeAllin SchnittstelleList<T>- Setzt außer Kraft:
removeAllin KlasseAbstractCollection<T>- Parameter:
c- the elements that should be removed- Gibt zurück:
- true if the collection was modified
- Löst aus:
NullPointerException- if the collection is null
-
retainAll
Veraltet.A function to retain all elements that were provided in the other collection This function might delegate to a more appropriate function if necessary- Angegeben von:
retainAllin SchnittstelleCollection<T>- Angegeben von:
retainAllin SchnittstelleList<T>- Setzt außer Kraft:
retainAllin KlasseAbstractCollection<T>- Parameter:
c- the elements that should be kept. If empty, LongArrayList#clear is called.- Gibt zurück:
- true if the collection was modified
- Löst aus:
NullPointerException- if the collection is null
-
removeIf
Veraltet.A optimized List#removeIf(Predicate) that more quickly removes elements from the list then the ArrayList implementation- Angegeben von:
removeIfin SchnittstelleCollection<T>- Parameter:
filter- the filter to remove elements- Gibt zurück:
- true if the list was modified
-
removeAll
A function to remove all elements that were provided in the other collection- Angegeben von:
removeAllin SchnittstelleObjectCollection<T>- Setzt außer Kraft:
removeAllin KlasseAbstractObjectCollection<T>- Parameter:
c- the elements that should be removed- Gibt zurück:
- true if the collection was modified
- Löst aus:
NullPointerException- if the collection is null- Siehe auch:
-
removeAll
Beschreibung aus Schnittstelle kopiert:ObjectCollectionA Type-Specific removeAll function that reduces (un)boxing. It also notifies the remover of which exact element is going to be removed.- Angegeben von:
removeAllin SchnittstelleObjectCollection<T>- Setzt außer Kraft:
removeAllin KlasseAbstractObjectCollection<T>- 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 function to retain all elements that were provided in the other collection This function might delegate to a more appropriate function if necessary- Angegeben von:
retainAllin SchnittstelleObjectCollection<T>- Setzt außer Kraft:
retainAllin KlasseAbstractObjectCollection<T>- Parameter:
c- the elements that should be kept. If empty, LongArrayList#clear is called.- Gibt zurück:
- true if the collection was modified
- Löst aus:
NullPointerException- if the collection is null- Siehe auch:
-
retainAll
Beschreibung aus Schnittstelle kopiert:ObjectCollectionA Type-Specific retainAll function that reduces (un)boxing. It also notifies the remover of which exact element is going to be removed.- Angegeben von:
retainAllin SchnittstelleObjectCollection<T>- Setzt außer Kraft:
retainAllin KlasseAbstractObjectCollection<T>- 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:
-
toArray
A toArray implementation that ensures the Array itself is a Object. -
toArray
public <E> E[] toArray(E[] a) A toArray implementation that ensures the Array itself is a Object.- Angegeben von:
toArrayin SchnittstelleCollection<T>- Angegeben von:
toArrayin SchnittstelleList<T>- Angegeben von:
toArrayin SchnittstelleStack<T>- Setzt außer Kraft:
toArrayin KlasseAbstractCollection<T>- Typparameter:
E- the keyType of elements maintained by this Collection- Parameter:
a- original array. If null a Object array with the right size is created. If to small the Array of the same type is created with the right size- Gibt zurück:
- a Array of the elements in the list
-
toArray
Beschreibung aus Schnittstelle kopiert:StackA Helper function that simplifies the process of creating a new Array.- Angegeben von:
toArrayin SchnittstelleCollection<T>- Angegeben von:
toArrayin SchnittstelleObjectCollection<T>- Angegeben von:
toArrayin SchnittstelleObjectIterable<T>- Angegeben von:
toArrayin SchnittstelleStack<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:
-
size
public int size()A function to return the size of the list- Angegeben von:
sizein SchnittstelleCollection<T>- Angegeben von:
sizein SchnittstelleISizeProvider- Angegeben von:
sizein SchnittstelleList<T>- Angegeben von:
sizein SchnittstelleStack<T>- Angegeben von:
sizein KlasseAbstractCollection<T>- Gibt zurück:
- the size of elements in the list
-
size
public void size(int size) A function to ensure the elements are within the requested size. If smaller then the stored elements they get removed as needed. If bigger it is ensured that enough room is provided depending on the implementation- Angegeben von:
sizein SchnittstelleObjectList<T>- Setzt außer Kraft:
sizein KlasseAbstractObjectList<T>- Parameter:
size- the requested amount of elements/room for elements
-
clear
public void clear()A function to clear all elements in the list. -
trim
public boolean trim(int size) Trims the original collection down to the size of the current elements or the requested size depending which is bigger- Angegeben von:
trimin SchnittstelleITrimmable- Parameter:
size- the requested trim size.- Gibt zurück:
- if the internal array has been trimmed.
-
clearAndTrim
public void clearAndTrim(int size) Trims the collection down to the requested size and clears all elements while doing so- Angegeben von:
clearAndTrimin SchnittstelleITrimmable- Parameter:
size- the amount of elements that should be allowed- Note:
- this will enforce minimum size of the collection itself
-
copy
Beschreibung aus Schnittstelle kopiert:ObjectCollectionA 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 SchnittstelleObjectCollection<T>- Angegeben von:
copyin SchnittstelleObjectList<T>- Setzt außer Kraft:
copyin KlasseAbstractObjectList<T>- Gibt zurück:
- a Shallow Copy of the collection
-
spliterator
A Type Specific Type Splititerator to reduce boxing/unboxing- Angegeben von:
spliteratorin SchnittstelleCollection<T>- Angegeben von:
spliteratorin SchnittstelleIterable<T>- Angegeben von:
spliteratorin SchnittstelleList<T>- Angegeben von:
spliteratorin SchnittstelleObjectCollection<T>- Angegeben von:
spliteratorin SchnittstelleObjectIterable<T>- Angegeben von:
spliteratorin SchnittstelleObjectList<T>- Gibt zurück:
- type specific splititerator
- Note:
- characteristics are ordered, sized, subsized
-