public class DimValList extends AbstractList implements List
DimVal
objects). DimValList
objects are returned from the
MDEX Engine by various methods. For example, the
Dimension.getRefinements()
method returns a DimValList
object containing the refinements in a given dimension.
A DimValIdList
is a list of dimension value IDs, while
a DimValList
is a list of the actual dimension values
(DimVal
objects).
Note: DimValList
objects are unmodifiable and therefore do not support
any modification operations (such as add, remove, and clear) that are inherited.
Attempting to modify the object may result in a runtime exception
(UnsupportedOperationException
).
modCount
Modifier and Type | Method and Description |
---|---|
Object |
get(int i)
Gets the
DimVal at index i . |
DimVal |
getDimValue(int i)
Gets the
DimVal at index i . |
int |
size()
Gets the size of the list.
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public Object get(int i)
DimVal
at index i
. If
i
is not greater than 0 and not less than the size
of the list, throws ArrayIndexOutOfBoundsException
.get
in interface List
get
in class AbstractList
DimVal
at index i
.ArrayIndexOutOfBoundsException
- Index out of range.public DimVal getDimValue(int i)
DimVal
at index i
. If
i
is less than zero or greater than or equal to the size
of the list, throws ArrayIndexOutOfBoundsException
.DimVal
at index i
.ArrayIndexOutOfBoundsException
- Index out of range.public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
© 2003, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle and/or its affiliates Confidential