Class AnySequence
- java.lang.Object
-
- org.pentaho.reporting.libraries.formula.typing.sequence.AnySequence
-
- All Implemented Interfaces:
Sequence
- Direct Known Subclasses:
AnyNumberSequence,DefaultNumberSequence
public class AnySequence extends Object implements Sequence
- Author:
- Cedric Pronzato
-
-
Constructor Summary
Constructors Modifier Constructor Description AnySequence(FormulaContext context)AnySequence(LValue single, FormulaContext context)AnySequence(ArrayCallback array, FormulaContext context)protectedAnySequence(AnySequence anySequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArrayCallbackgetArray()protected intgetColumnCursor()protected FormulaContextgetContext()protected intgetRowCursor()protected LValuegetSingle()booleanhasNext()protected booleanisValidNext(LValue o)Objectnext()LValuenextRawValue()
-
-
-
Constructor Detail
-
AnySequence
public AnySequence(FormulaContext context)
-
AnySequence
public AnySequence(ArrayCallback array, FormulaContext context)
-
AnySequence
public AnySequence(LValue single, FormulaContext context)
-
AnySequence
protected AnySequence(AnySequence anySequence)
-
-
Method Detail
-
hasNext
public boolean hasNext() throws EvaluationException- Specified by:
hasNextin interfaceSequence- Throws:
EvaluationException
-
isValidNext
protected boolean isValidNext(LValue o) throws EvaluationException
- Throws:
EvaluationException
-
next
public Object next() throws EvaluationException
- Specified by:
nextin interfaceSequence- Throws:
EvaluationException
-
nextRawValue
public LValue nextRawValue() throws EvaluationException
- Specified by:
nextRawValuein interfaceSequence- Throws:
EvaluationException
-
getRowCursor
protected int getRowCursor()
-
getColumnCursor
protected int getColumnCursor()
-
getSingle
protected LValue getSingle()
-
getArray
protected ArrayCallback getArray()
-
getContext
protected FormulaContext getContext()
-
-