Schnittstelle IViewProviderContainer<E>
- Typparameter:
E- is the type of the elements of aIViewProviderContainer.
- Alle bekannten Unterschnittstellen:
IArrayList<E>,ICachingContainer<E>,IContainer<E>,ILinkedList<E>,IMatrix<E>,ISqlRecord
- Alle bekannten Implementierungsklassen:
ArrayList,ArrayView,CachingContainer,Container,ContainerView,ContainerView,FilterContainerView,ImmutableList,IterableView,LinkedList,Matrix,MatrixColumn,MatrixRow,MultiContainerView,SqlRecord
public interface IViewProviderContainer<E>
- Version:
- 2024-07-28
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetViewFrom1BasedStartIndex(int param1BasedStartIndex) getViewFrom1BasedStartIndexTo1BasedEndIndex(int param1BasedStartIndex, int param1BasedEndIndex) getViewTo1BasedEndIndex(int param1BasedEndIndex) getViewWithoutFirst(int n) getViewWithoutLast(int n)
-
Methodendetails
-
getViewFrom1BasedStartIndex
- Parameter:
param1BasedStartIndex-- Gibt zurück:
- a new view of the current
IViewProviderContainerfrom the given param1BasedStartIndex. - Löst aus:
RuntimeException- if the given param1BasedStartIndex is bigger than the number of elements of the currentIContainer.
-
getViewFrom1BasedStartIndexTo1BasedEndIndex
IContainer<E> getViewFrom1BasedStartIndexTo1BasedEndIndex(int param1BasedStartIndex, int param1BasedEndIndex) - Parameter:
param1BasedStartIndex-param1BasedEndIndex-- Gibt zurück:
- a new view of the current
IViewProviderContainerfrom the given param1BasedStartIndex to the given param1BasedEndIndex. - Löst aus:
RuntimeException- if the given param1BasedStartIndex is not positive.RuntimeException- if the given param1BasedStartIndex is smaller than the given param1BasedEndIndex.RuntimeException- if the given param1BasedEndIndex is bigger than the number of elements of the currentIContainer.
-
getViewTo1BasedEndIndex
- Parameter:
param1BasedEndIndex-- Gibt zurück:
- a new view
IContainerof the currentIViewProviderContainerto the given param1BasedEndIndex. - Löst aus:
RuntimeException- if the given param1BasedEndIndex is not positive.RuntimeException- if the given param1BasedEndIndex is bigger than the number of the elements of the currentIContainer.
-
getViewWithoutFirst
IContainer<E> getViewWithoutFirst()- Gibt zurück:
- a new view
IContainerview of the currentIViewProviderContainerwithout the first element. - Löst aus:
RuntimeException- if the currentIViewProviderContaineris empty.
-
getViewWithoutFirst
- Parameter:
n-- Gibt zurück:
- a new view
IContainerview of the currentIViewProviderContainerwithout the first n elements. - Löst aus:
RuntimeException- if the given n is negative.
-
getViewWithoutLast
IContainer<E> getViewWithoutLast()- Gibt zurück:
- a new view
IContainerview of the currentIViewProviderContainerwithout the last element. - Löst aus:
RuntimeException- if the currentIViewProviderContaineris empty.
-
getViewWithoutLast
- Parameter:
n-- Gibt zurück:
- a new view
IContainerof the currentIViewProviderContainerwithout the last n elements. - Löst aus:
RuntimeException- if the given n is negative.
-