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)
protected
AnySequence(AnySequence anySequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArrayCallback
getArray()
protected int
getColumnCursor()
protected FormulaContext
getContext()
protected int
getRowCursor()
protected LValue
getSingle()
boolean
hasNext()
protected boolean
isValidNext(LValue o)
Object
next()
LValue
nextRawValue()
-
-
-
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:
hasNext
in interfaceSequence
- Throws:
EvaluationException
-
isValidNext
protected boolean isValidNext(LValue o) throws EvaluationException
- Throws:
EvaluationException
-
next
public Object next() throws EvaluationException
- Specified by:
next
in interfaceSequence
- Throws:
EvaluationException
-
nextRawValue
public LValue nextRawValue() throws EvaluationException
- Specified by:
nextRawValue
in interfaceSequence
- Throws:
EvaluationException
-
getRowCursor
protected int getRowCursor()
-
getColumnCursor
protected int getColumnCursor()
-
getSingle
protected LValue getSingle()
-
getArray
protected ArrayCallback getArray()
-
getContext
protected FormulaContext getContext()
-
-