edu.neu.ccs.parser
Class AbstractParser.ObjectOperationPair

java.lang.Object
  |
  +--edu.neu.ccs.parser.AbstractParser.ObjectOperationPair
Enclosing class:
AbstractParser

public static class AbstractParser.ObjectOperationPair
extends Object

Pair class used by a Parser to store a value and an associated operation.

Replaces the class named ObjectOpPair.

Since:
2.2

Field Summary
 AbstractParser.Operation operation
          The operation component of the pair.
 Object value
          The object component of the pair.
 
Constructor Summary
AbstractParser.ObjectOperationPair(Object v, AbstractParser.Operation o)
          Constructs a pair with the given value and operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public Object value
The object component of the pair.


operation

public AbstractParser.Operation operation
The operation component of the pair.

Constructor Detail

AbstractParser.ObjectOperationPair

public AbstractParser.ObjectOperationPair(Object v,
                                          AbstractParser.Operation o)
Constructs a pair with the given value and operation.

Parameters:
v - the value component
o - the operation component