Class FieldIterator

java.lang.Object
org.snpsift.lang.expression.FieldIterator

public class FieldIterator extends Object
Iterates on fields / sub-fields It's a singleton
Author:
pcingola
  • Constructor Details

    • FieldIterator

      public FieldIterator()
  • Method Details

    • get

      public static FieldIterator get()
    • get

      public int get(FieldIterator.IteratorType iterType)
      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

      public void setMax(FieldIterator.IteratorType iterType, int max)
      Set 'max' parameter for an iterator
      Parameters:
      max -
      starType -
    • setType

      public void setType(int type)
    • toString

      public String toString()
      Overrides:
      toString in class Object