Klasse ArrayView<E>
java.lang.Object
ch.nolix.core.container.base.Container<E>
ch.nolix.core.container.containerview.ArrayView<E>
- Typparameter:
E- is the type of the elements of aArrayView.
- Alle implementierten Schnittstellen:
FilterMultiSearchable<E>,IContainer<E>,IViewProviderContainer<E>,Mappable<E>,MultiSearchable<E>,ArrayMappable<E>,ICountingContainer<E>,IndexRequestable<E>,IStatisticalConainer<E>,IterableWithCopyableIterator<E>,SingleSearchable<E>,StoringRequestable<E>,StringMappable,EmptinessRequestable,MaterializationRequestable,Iterable<E>
- Version:
- 2017-11-26
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <E2> ArrayView<E2> protected <E2> ILinkedList<E2> createEmptyMutableList(Marker<E2> marker) static <E2> ArrayView<E2> forArray(E2[] array) intgetCount()getStoredAt1BasedIndex(int param1BasedIndex) booleaniterator()<C extends Comparable<C>>
IContainer<E> toOrderedList(Function<E, C> comparableMapper) toString()Von Klasse geerbte Methoden ch.nolix.core.container.base.Container
contains, containsAll, containsAll, containsAll, containsAny, containsAny, containsAnyOf, containsAnyOf, containsAsManyAs, containsEqualing, containsExactlyEqualingInSameOrder, containsExactlyInSameOrder, containsLessThan, containsMoreThan, containsNone, containsNone, containsNoneOf, containsOnce, containsOne, containsOne, containsOneEqualing, containsOnly, get1BasedIndexOfFirst, get1BasedIndexOfFirstEqualElement, get1BasedIndexOfFirstOccurrenceOf, getAverage, getAverageOrZero, getCount, getCountOf, getMax, getMaxOrZero, getMedian, getMedianOrZero, getMin, getMinOrZero, getOptionalStoredFirst, getOptionalStoredFirst, getStandardDeviation, getStoredByMax, getStoredByMin, getStoredFirst, getStoredFirst, getStoredFirstOfType, getStoredInGroups, getStoredLast, getStoredOfType, getStoredOne, getStoredOne, getStoredOthers, getStoredSelected, getSum, getSumOfInts, getVariance, getViewFrom1BasedStartIndex, getViewFrom1BasedStartIndexTo1BasedEndIndex, getViewOfStoredSelected, getViewTo1BasedEndIndex, getViewWithoutFirst, getViewWithoutFirst, getViewWithoutLast, getViewWithoutLast, isEmpty, to, toArray, toByteArray, toCharArray, toConcatenatedString, toDoubleArray, toIntArray, toLongArray, toMultiples, toNumbers, toReversedList, toStringArray, toStrings, toStringWithSeparator, toStringWithSeparator, toWithOneBasedIndexVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.EmptinessRequestable
containsAnyVon Schnittstelle geerbte Methoden java.lang.Iterable
forEach, spliteratorVon Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.MaterializationRequestable
isView
-
Methodendetails
-
createEmpty
-
forArray
- Typparameter:
E2- is the type of the elements of the given array.- Parameter:
array-- Gibt zurück:
- a new
ArrayViewfor the given array. - Löst aus:
ArgumentIsNullException- if the given array is null.
-
getCount
public int getCount()- Gibt zurück:
- the number of elements of the current
ICountingContainer.
-
getStoredAt1BasedIndex
- Parameter:
param1BasedIndex-- Gibt zurück:
- the element at the given param1BasedIndex. The element can be null.
-
isMaterialized
public boolean isMaterialized()- Gibt zurück:
- true if the current
MaterializationRequestableis materialized, false otherwise.
-
iterator
-
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.
-
toString
-
createEmptyMutableList
- Angegeben von:
createEmptyMutableListin KlasseContainer<E>- Typparameter:
E2- is the type of the elements the createdILinkedListcan contain.- Parameter:
marker-- Gibt zurück:
- a new empty
ILinkedList.
-