org.pentaho.reporting.libraries.formula.typing.sequence
Class AnySequence

java.lang.Object
  extended by org.pentaho.reporting.libraries.formula.typing.sequence.AnySequence
All Implemented Interfaces:
Sequence
Direct Known Subclasses:
AnyNumberSequence, DefaultNumberSequence

public class AnySequence
extends java.lang.Object
implements Sequence

Author:
Cedric Pronzato

Constructor Summary
protected AnySequence(AnySequence anySequence)
           
  AnySequence(ArrayCallback array, FormulaContext context)
           
  AnySequence(FormulaContext context)
           
  AnySequence(LValue single, FormulaContext context)
           
 
Method Summary
protected  ArrayCallback getArray()
           
protected  int getColumnCursor()
           
protected  FormulaContext getContext()
           
protected  int getRowCursor()
           
protected  LValue getSingle()
           
 boolean hasNext()
           
protected  boolean isValidNext(LValue o)
           
 java.lang.Object next()
           
 LValue nextRawValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface Sequence
Throws:
EvaluationException

isValidNext

protected boolean isValidNext(LValue o)

next

public java.lang.Object next()
                      throws EvaluationException
Specified by:
next in interface Sequence
Throws:
EvaluationException

nextRawValue

public LValue nextRawValue()
                    throws EvaluationException
Specified by:
nextRawValue in interface Sequence
Throws:
EvaluationException

getRowCursor

protected int getRowCursor()

getColumnCursor

protected int getColumnCursor()

getSingle

protected LValue getSingle()

getArray

protected ArrayCallback getArray()

getContext

protected FormulaContext getContext()