Package org.snpsift.lang.expression
Class FieldIterator
java.lang.Object
org.snpsift.lang.expression.FieldIterator
Iterates on fields / sub-fields
It's a singleton
- Author:
- pcingola
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldIterator
get()
int
get
(FieldIterator.IteratorType iterType) Set 'max' parameter for an iteratorint
getType()
boolean
hasNext()
Is there a 'next'void
next()
Next in iterationvoid
reset()
Reset all countersvoid
setMax
(FieldIterator.IteratorType iterType, int max) Set 'max' parameter for an iteratorvoid
setType
(int type) toString()
-
Constructor Details
-
FieldIterator
public FieldIterator()
-
-
Method Details
-
get
-
get
Set 'max' parameter for an iterator- Parameters:
starType
-max
-
-
getType
public int getType() -
hasNext
public boolean hasNext()Is there a 'next'- Returns:
-
next
public void next()Next in iteration -
reset
public void reset()Reset all counters -
setMax
Set 'max' parameter for an iterator- Parameters:
max
-starType
-
-
setType
public void setType(int type) -
toString
-