I
- input symbol typeD
- output domain typepublic static interface ObservationTable.Row<I,D> extends Iterable<D>
Modifier and Type | Method and Description |
---|---|
D |
getCellContent(int index)
Retrieves the cell content at the given index.
|
List<? extends D> |
getContents()
Retrieves a list of the cell contents in this row.
|
Word<I> |
getLabel()
Retrieves the label of this row.
|
boolean |
isShortPrefixRow()
Retrieves whether this row is a short or a long prefix row.
|
int |
size()
Retrieves the size (length) of this row.
|
forEach, iterator, spliterator
@Nonnull Word<I> getLabel()
boolean isShortPrefixRow()
true
if this row is a short prefix row, false
otherwise.@Nonnull List<? extends D> getContents()
int size()
@Nullable D getCellContent(@Nonnegative int index) throws IndexOutOfBoundsException
index
- the indexIndexOutOfBoundsException
- if the given index is invalid, i.e., is less than
0
or greater than or equal to size()
Copyright © 2015. All rights reserved.