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, value
index
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, getShape
protected 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 IndexIterator
public void reset()
IndexIterator
reset
in class IndexIterator
public int[] getFirstShape()
public int[] getPos()
getPos
in class IndexIterator
Copyright © 2014–2019 Eclipse Foundation. All rights reserved.