Schnittstelle IArrayList<E>
- Typparameter:
E- is the type of the elements of aIArrayList.
- Alle Superschnittstellen:
AggregationRequestable<E>, ArrayMappable<E>, Clearable, Copyable<IArrayList<E>>, CountRequestable<E>, EmptinessRequestable, Filterable<E>, Groupable<E>, IContainer<E>, IFilteringContainerViewProvider<E>, IIntervallContainerViewProvider<E>, IMappingContainerViewProvider<E>, IndexRequestable<E>, Iterable<E>, IterableWithCopyableIterator<E>, Mappable<E>, MaterializationRequestable, SingleSearchable<E>, StoringRequestable<E>, StringMappable
- Alle bekannten Implementierungsklassen:
ArrayList
A
IArrayList is a IContainer that can add and remove
elements.- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidAdds the given element at the end of the currentIArrayList.voidAdds the given elements at the end of the currentIArrayList.<T extends E>
voidaddAtEnd(T... elements) Adds the given elements at the end of the currentIArrayList.voidinsertAtOneBasedIndex(int oneBasedIndex, E element) Adds the given element at the given oneBasedIndexVon Schnittstelle geerbte Methoden AggregationRequestable
getAverage, getAverageOrZero, getMax, getMaxOrZero, getMedian, getMedianOrZero, getMin, getMinOrZero, getStandardDeviation, getSum, getSumOfInts, getVarianceVon Schnittstelle geerbte Methoden ArrayMappable
toArray, toByteArray, toCharArray, toDoubleArray, toIntArray, toLongArray, toStringArrayVon Schnittstelle geerbte Methoden CountRequestable
getCount, getCount, getCountOfVon Schnittstelle geerbte Methoden EmptinessRequestable
containsAny, isEmptyVon Schnittstelle geerbte Methoden Filterable
getStoredOfType, getStoredOthers, getStoredSelectedVon Schnittstelle geerbte Methoden Groupable
getStoredInGroupsVon Schnittstelle geerbte Methoden IContainer
toOrderedList, toReversedListVon Schnittstelle geerbte Methoden IFilteringContainerViewProvider
getViewOfStoredSelectedVon Schnittstelle geerbte Methoden IIntervallContainerViewProvider
getViewFromOneBasedStartIndex, getViewFromOneBasedStartIndexToOneBasedEndIndex, getViewToOneBasedEndIndex, getViewWithoutFirst, getViewWithoutFirst, getViewWithoutLast, getViewWithoutLastVon Schnittstelle geerbte Methoden IMappingContainerViewProvider
getViewOfVon Schnittstelle geerbte Methoden IndexRequestable
getOneBasedIndexOfFirst, getOneBasedIndexOfFirstEqualElement, getOneBasedIndexOfFirstOccurrenceOfVon Schnittstelle geerbte Methoden Iterable
forEach, spliteratorVon Schnittstelle geerbte Methoden IterableWithCopyableIterator
iteratorVon Schnittstelle geerbte Methoden Mappable
to, toMultiples, toNumbers, toStrings, toWithOneBasedIndexVon Schnittstelle geerbte Methoden MaterializationRequestable
isMaterialized, isViewVon Schnittstelle geerbte Methoden SingleSearchable
getOptionalStoredFirst, getOptionalStoredFirst, getStoredAtOneBasedIndex, getStoredByMax, getStoredByMin, getStoredFirst, getStoredFirst, getStoredFirstOfType, getStoredLast, getStoredOne, getStoredOneVon Schnittstelle geerbte Methoden StoringRequestable
contains, containsAll, containsAll, containsAll, containsAny, containsAny, containsAnyOf, containsAnyOf, containsAsManyAs, containsEqualing, containsExactlyEqualingInSameOrder, containsExactlyInSameOrder, containsLessThan, containsMoreThan, containsNone, containsNone, containsNoneOf, containsOnce, containsOne, containsOne, containsOneEqualing, containsOnlyVon Schnittstelle geerbte Methoden StringMappable
toConcatenatedString, toStringWithSeparator, toStringWithSeparator
-
Methodendetails
-
addAtEnd
Adds the given element at the end of the currentIArrayList.- Parameter:
element-- Löst aus:
RuntimeException- if the given elements is null.
-
addAtEnd
Adds the given elements at the end of the currentIArrayList. The elements will be added in the given order.- Typparameter:
T- is the type of the given elements.- Parameter:
elements-- Löst aus:
RuntimeException- if the given elements is null.RuntimeException- if one of the given elements is null.
-
addAtEnd
Adds the given elements at the end of the currentIArrayList. The elements will be added in the given order.- Parameter:
elements-- Löst aus:
RuntimeException- if the given elements is null.RuntimeException- if one of the given elements is null.
-
insertAtOneBasedIndex
Adds the given element at the given oneBasedIndex- Parameter:
oneBasedIndex-element-- Löst aus:
RuntimeException- if the given oneBasedIndex is not positive or bigger than the one-incremented number of the elements of the currentIArrayList.RuntimeException- if the given elements is null.
-