public class BooleanNullIterator extends BooleanIterator
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
aDelta |
protected int[] |
aShape |
protected int[] |
aStride |
protected int |
endrank |
protected int[] |
oDelta |
protected int[] |
oStride |
protected int[] |
pos
position in dataset
|
aDataset, aMax, aStart, aStep, cDataset, cIndex, maxShape, oDataset, oIndex, oStart, oStep, outputA, valueindex| Constructor and Description |
|---|
BooleanNullIterator(Dataset a,
Dataset o) |
BooleanNullIterator(Dataset a,
Dataset o,
boolean createIfNull) |
BooleanNullIterator(Dataset a,
Dataset o,
boolean createIfNull,
boolean allowInteger,
boolean allowComplex) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getFirstShape() |
int[] |
getPos() |
boolean |
hasNext() |
void |
reset()
Reset iterator
|
createIterator, createIterator, createIterator, createIterator, getChoice, getOutput, getShapeprotected int[] aShape
protected int[] aStride
protected int[] oStride
protected int endrank
protected int[] pos
protected int[] aDelta
protected int[] oDelta
public BooleanNullIterator(Dataset a, Dataset o)
a - o - (can be null for new dataset, or a)public BooleanNullIterator(Dataset a, Dataset o, boolean createIfNull)
a - o - (can be null for new dataset, or a)createIfNull - if true create the output dataset if that is null
(by default, can create float or complex datasets)public BooleanNullIterator(Dataset a, Dataset o, boolean createIfNull, boolean allowInteger, boolean allowComplex)
a - o - (can be null for new dataset, or a)createIfNull - if true create the output dataset if that is nullallowInteger - if true, can create integer datasetsallowComplex - if true, can create complex datasetspublic boolean hasNext()
hasNext in class IndexIteratorpublic void reset()
IndexIteratorreset in class IndexIteratorpublic int[] getFirstShape()
public int[] getPos()
getPos in class IndexIteratorCopyright © 2014–2017 Eclipse Foundation. All rights reserved.