Schnittstelle IContainer<E>
- Typparameter:
E- is the type of the elements of aIContainer.
- Alle Superschnittstellen:
AggregationRequestable<E>, ArrayMappable<E>, CountRequestable<E>, EmptinessRequestable, Filterable<E>, Groupable<E>, IFilteringContainerViewProvider<E>, IIntervallContainerViewProvider<E>, IMappingContainerViewProvider<E>, IndexRequestable<E>, Iterable<E>, IterableWithCopyableIterator<E>, Mappable<E>, MaterializationRequestable, SingleSearchable<E>, StoringRequestable<E>, StringMappable
- Alle bekannten Unterschnittstellen:
IArrayList<E>, ILinkedList<E>, IMatrix<E>, ISqlRecord
- Alle bekannten Implementierungsklassen:
AbstractContainer, AbstractExtendedContainer, ArrayContainerView, ArrayList, ContainerView, FilterContainerView, ImmutableList, IntervallContainerView, IterableContainerView, LinkedList, MappingContainerView, Matrix, MatrixColumn, MatrixRow, MultiContainerView, SingleContainer, SqlRecord
public interface IContainer<E>
extends AggregationRequestable<E>, ArrayMappable<E>, CountRequestable<E>, EmptinessRequestable, Filterable<E>, Groupable<E>, IFilteringContainerViewProvider<E>, IIntervallContainerViewProvider<E>, IMappingContainerViewProvider<E>, IndexRequestable<E>, IterableWithCopyableIterator<E>, Mappable<E>, MaterializationRequestable, SingleSearchable<E>, StoringRequestable<E>, StringMappable
A
IContainer can store several elements of a certain type. A
IContainer stores its element in a linear order. There can exists
additional orders. A IContainer is iterable.- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifikator und TypMethodeBeschreibung<C extends Comparable<C>>
IContainer<E> toOrderedList(Function<E, C> comparableMapper) Von 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 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
-
toOrderedList
- Typparameter:
C- is the type of theComparables the given comparableMapper returns.- Parameter:
comparableMapper-- Gibt zurück:
- a new
IContainerwith the elements of the currentIContainerordered from the smallest to the biggest element according to theComparables the given comparableMapper maps from the elements of the currentIContainer. - Löst aus:
RuntimeException- if the given comparableMapper is null.RuntimeException- if one of the elements of the currentIContaineris null.
-
toReversedList
IContainer<E> toReversedList()- Gibt zurück:
- a new
IContainerwith the elements of the currentIContainerin reversed order.
-