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>
,ICachingContainer<E>
,ILinkedList<E>
,IMatrix<E>
,ISqlRecord
- Alle bekannten Implementierungsklassen:
AbstractContainer
,AbstractExtendedContainer
,ArrayContainerView
,ArrayList
,CachingContainer
,ContainerView
,FilterContainerView
,ImmutableList
,IntervallContainerView
,IterableContainerView
,LinkedList
,MappingContainerView
,Matrix
,MatrixColumn
,MatrixRow
,MultiContainerView
,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.- Version:
- 2016-01-01
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<C extends Comparable<C>>
IContainer<E> toOrderedList
(Function<E, C> comparableMapper) Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.commoncontainerapi.AggregationRequestable
getAverage, getAverageOrZero, getMax, getMaxOrZero, getMedian, getMedianOrZero, getMin, getMinOrZero, getStandardDeviation, getSum, getSumOfInts, getVariance
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.commoncontainerapi.ArrayMappable
toArray, toByteArray, toCharArray, toDoubleArray, toIntArray, toLongArray, toStringArray
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.commoncontainerapi.CountRequestable
getCount, getCount, getCountOf
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.EmptinessRequestable
containsAny, isEmpty
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.baseapi.Filterable
getStoredOfType, getStoredOthers, getStoredSelected
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.baseapi.Groupable
getStoredInGroups
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.baseapi.IFilteringContainerViewProvider
getViewOfStoredSelected
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.baseapi.IIntervallContainerViewProvider
getViewFromOneBasedStartIndex, getViewFromOneBasedStartIndexToOneBasedEndIndex, getViewToOneBasedEndIndex, getViewWithoutFirst, getViewWithoutFirst, getViewWithoutLast, getViewWithoutLast
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.baseapi.IMappingContainerViewProvider
getViewOf
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.commoncontainerapi.IndexRequestable
getOneBasedIndexOfFirst, getOneBasedIndexOfFirstEqualElement, getOneBasedIndexOfFirstOccurrenceOf
Von Schnittstelle geerbte Methoden java.lang.Iterable
forEach, spliterator
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.commoncontainerapi.IterableWithCopyableIterator
iterator
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.baseapi.Mappable
to, toMultiples, toNumbers, toStrings, toWithOneBasedIndex
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.MaterializationRequestable
isMaterialized, isView
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.commoncontainerapi.SingleSearchable
getOptionalStoredFirst, getOptionalStoredFirst, getStoredAtOneBasedIndex, getStoredByMax, getStoredByMin, getStoredFirst, getStoredFirst, getStoredFirstOfType, getStoredLast, getStoredOne, getStoredOne
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.commoncontainerapi.StoringRequestable
contains, containsAll, containsAll, containsAll, containsAny, containsAny, containsAnyOf, containsAnyOf, containsAsManyAs, containsEqualing, containsExactlyEqualingInSameOrder, containsExactlyInSameOrder, containsLessThan, containsMoreThan, containsNone, containsNone, containsNoneOf, containsOnce, containsOne, containsOne, containsOneEqualing, containsOnly
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.containerapi.commoncontainerapi.StringMappable
toConcatenatedString, toStringWithSeparator, toStringWithSeparator
-
Methodendetails
-
toOrderedList
- Typparameter:
C
- is the type of theComparable
s the given comparableMapper returns.- Parameter:
comparableMapper
-- Gibt zurück:
- a new
IContainer
with the elements of the currentIContainer
ordered from the smallest to the biggest element according to theComparable
s 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 currentIContainer
is null.
-
toReversedList
IContainer<E> toReversedList()- Gibt zurück:
- a new
IContainer
with the elements of the currentIContainer
in reversed order.
-