public class BooleanContiguousIterator extends BooleanIterator
aDataset, aMax, aStart, aStep, cDataset, cIndex, maxShape, oDataset, oIndex, oStart, oStep, outputA, value
index
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, getShape
public 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 IndexIterator
public int[] getPos()
getPos
in class IndexIterator
public void reset()
IndexIterator
reset
in class IndexIterator
Copyright © 2014–2019 Eclipse Foundation. All rights reserved.