Interface IAppendableList<E>
- Type Parameters:
E- the type of the elements of aIAppendableList
- All Superinterfaces:
AggregationRequestable<E>, BaseCountRequestable, CountRequestable<E>, EmptinessRequestable, ExtendedIterable<E>, Iterable<E>, IterableArrayProvider<E>, IterableByExtremumProvider<E>, IterableByIndexProvider<E>, IterableContainAnyRequestable, IterableContainEqualRequestable<E>, IterableContainMatchingRequestable<E>, IterableContainMultipleRequestable, IterableContainObjectRequestable, IterableFilterProvider<E>, IterableFilterViewProvider<E>, IterableFirstProvider<E>, IterableGroupProvider<E>, IterableIntervalViewProvider<E>, IterableLastProvider<E>, IterableMappedProvider<E>, IterableMappedViewProvider<E>, IterableOneBasedIndexRequestable<E>, IterableOrderProvider<E>, IterableStringProvider, IterableWithCopyableIterator<E>, MaterializationRequestable, SingleProvider<E>
- All Known Subinterfaces:
IArrayList<E>, ILinkedList<E>
- All Known Implementing Classes:
ArrayList, LinkedList
A
IAppendableList is a list that can add elements at its end.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the given element at the end of the currentIAppendableList.voidAdds the given elements at the end of the currentIAppendableList.<T extends E>
voidaddAtEnd(T... elements) Adds the given elements at the end of the currentIAppendableList.Methods inherited from interface AggregationRequestable
getAverage, getAverageOrZero, getMax, getMaxOrZero, getMedian, getMedianOrZero, getMin, getMinOrZero, getStandardDeviation, getSum, getSumOfInts, getVarianceMethods inherited from interface BaseCountRequestable
getCountMethods inherited from interface CountRequestable
getCount, getCountOfMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface IterableArrayProvider
toArray, toByteArray, toCharArray, toDoubleArray, toIntArray, toLongArray, toStringArrayMethods inherited from interface IterableByExtremumProvider
getStoredByMax, getStoredByMinMethods inherited from interface IterableByIndexProvider
getStoredAtOneBasedIndexMethods inherited from interface IterableContainAnyRequestable
containsAny, containsNonNull, containsOne, containsOneNoneNull, isEmptyMethods inherited from interface IterableContainEqualRequestable
containsEqual, containsNoEqual, containsOneEqualMethods inherited from interface IterableContainMatchingRequestable
containsMatching, containsMatchingOnly, containsNoMatching, containsOneMatchingMethods inherited from interface IterableContainMultipleRequestable
containsAll, containsAll, containsAny, containsAny, containsExactlyAllEqualInSameOrder, containsExactlyInSameOrder, containsNone, containsNoneMethods inherited from interface IterableContainObjectRequestable
contains, containsOnce, containsOnlyMethods inherited from interface IterableFilterProvider
getStoredOfType, getStoredOthers, getStoredSelectedMethods inherited from interface IterableFilterViewProvider
getViewOfStoredSelectedMethods inherited from interface IterableFirstProvider
getOptionalStoredFirst, getOptionalStoredFirst, getStoredFirst, getStoredFirst, getStoredFirstNonNull, getStoredFirstOfTypeMethods inherited from interface IterableGroupProvider
getStoredInGroupsMethods inherited from interface IterableIntervalViewProvider
getViewFromOneBasedStartIndex, getViewFromOneBasedStartIndexToOneBasedEndIndex, getViewToOneBasedEndIndex, getViewWithoutFirst, getViewWithoutFirst, getViewWithoutLast, getViewWithoutLastMethods inherited from interface IterableLastProvider
getStoredLastMethods inherited from interface IterableMappedProvider
to, toMultiples, toNumbers, toStrings, toWithOneBasedIndexMethods inherited from interface IterableMappedViewProvider
getViewOfMethods inherited from interface IterableOneBasedIndexRequestable
getOneBasedIndexOfFirst, getOneBasedIndexOfFirstEqualElement, getOneBasedIndexOfFirstOccurrenceOfMethods inherited from interface IterableOrderProvider
toOrdered, toReversedMethods inherited from interface IterableStringProvider
toConcatenatedString, toStringWithDelimiter, toStringWithDelimiterMethods inherited from interface IterableWithCopyableIterator
iteratorMethods inherited from interface MaterializationRequestable
isMaterialized, isViewMethods inherited from interface SingleProvider
getStoredSingle, getStoredSingle
-
Method Details
-
addAtEnd
Adds the given element at the end of the currentIAppendableList.- Parameters:
element-- Throws:
RuntimeException- if the given elements is null
-
addAtEnd
Adds the given elements at the end of the currentIAppendableList. The elements will be added in the given order.- Parameters:
elements-- Throws:
RuntimeException- if the given elements is nullRuntimeException- if one of the given elements is null
-
addAtEnd
Adds the given elements at the end of the currentIAppendableList. The elements will be added in the given order.- Type Parameters:
T- the type of the given elements- Parameters:
elements-- Throws:
RuntimeException- if the given elements is nullRuntimeException- if one of the given elements is null
-