public class BooleanContiguousIterator extends BooleanIterator
aDataset, aMax, aStart, aStep, cDataset, cIndex, maxShape, oDataset, oIndex, oStart, oStep, outputA, valueindex| Constructor and Description |
|---|
BooleanContiguousIterator(boolean v,
Dataset a,
Dataset c,
Dataset o,
boolean createIfNull)
Construct a boolean iterator that stops at the position in choice dataset where its value matches
the given boolean
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getPos() |
boolean |
hasNext() |
void |
reset()
Reset iterator
|
createIterator, createIterator, createIterator, createIterator, getChoice, getOutput, getShapepublic BooleanContiguousIterator(boolean v, Dataset a, Dataset c, Dataset o, boolean createIfNull)
v - boolean valuea - primary datasetc - choice dataseto - output dataset, can be nullcreateIfNull - if true create the output dataset if that is nullpublic boolean hasNext()
hasNext in class IndexIteratorpublic int[] getPos()
getPos in class IndexIteratorpublic void reset()
IndexIteratorreset in class IndexIteratorCopyright © 2014–2018 Eclipse Foundation. All rights reserved.