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, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic 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 Listget in class AbstractListDimVal 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 Collectionsize in interface Listsize in class AbstractCollection© 2003, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle and/or its affiliates Confidential