net.sourceforge.jeval
Class NextOperator

java.lang.Object
  extended by net.sourceforge.jeval.NextOperator

 class NextOperator
extends java.lang.Object

Represents the next operator in the expression to process.


Constructor Summary
NextOperator(Operator operator, int index)
          Create a new NextOperator from an operator and index.
 
Method Summary
 int getIndex()
          Returns the index for this object.
 Operator getOperator()
          Returns the operator for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NextOperator

public NextOperator(Operator operator,
                    int index)
Create a new NextOperator from an operator and index.

Parameters:
operator - The operator this object represents.
index - The index of the operator in the expression.
Method Detail

getOperator

public Operator getOperator()
Returns the operator for this object.

Returns:
The operator represented by this object.

getIndex

public int getIndex()
Returns the index for this object.

Returns:
The index of the operator in the expression.


Copyright (C) 2002-2007 Robert Breidecker.