Package org.goplanit.output.formatter
Class MemoryOutputIterator
- java.lang.Object
-
- org.goplanit.output.formatter.MemoryOutputIterator
-
-
Constructor Summary
Constructors Constructor Description MemoryOutputIterator(MultiKeyPlanItData multiKeyPlanItData)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getKeys()
Returns an array of keys for the current iterationObject[]
getValues()
Returns an array of values for the current iterationboolean
hasNext()
Returns whether the MemoryOutputFormatter has any more rowsObject[]
next()
Returns the next array of keys in the iteration-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
MemoryOutputIterator
public MemoryOutputIterator(MultiKeyPlanItData multiKeyPlanItData)
Constructor- Parameters:
multiKeyPlanItData
- the MultiKeyPlanItData object storing the data, provided by the MemoryOutputFormatter
-
-
Method Detail
-
hasNext
public boolean hasNext()
Returns whether the MemoryOutputFormatter has any more rows
-
next
public Object[] next()
Returns the next array of keys in the iteration
-
getKeys
public Object[] getKeys()
Returns an array of keys for the current iteration- Returns:
- array of keys for the current iteration
-
getValues
public Object[] getValues()
Returns an array of values for the current iteration- Returns:
- array of values for the current iteration
-
-