T
- the type of the data stored in the collectionpublic interface MultiDimensionalCollection<T>
Modifier and Type | Method and Description |
---|---|
int |
dimension()
Returns the number of dimensions of the collection.
|
T |
get(int... indices)
Returns the element at the specified position in this collection.
|
T |
set(T element,
int... indices)
Replaces the element at the specified position in this list with the specified element.
|
int |
size(int i)
Returns the size of the collection along the given dimension.
|
T set(T element, int... indices)
element
- element to be stored at the specified positionindices
- the indices of the element to replaceT get(int... indices)
indices
- the indices of the element to returnint size(int i)
i
- the index of the dimension for which to determine the sizeint dimension()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.