uk.me.parabola.mkgmap.osmstyle.eval
Class AbstractBinaryOp

java.lang.Object
  extended by uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp
      extended by uk.me.parabola.mkgmap.osmstyle.eval.AbstractBinaryOp
All Implemented Interfaces:
BinaryOp, Op
Direct Known Subclasses:
AndOp, EqualsOp, NumericOp, OrOp, RegexOp

public abstract class AbstractBinaryOp
extends AbstractOp
implements BinaryOp

A base class that can be used for binary operations. It has a second operand.

Author:
Steve Ratcliffe

Field Summary
 
Fields inherited from class uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp
first
 
Fields inherited from interface uk.me.parabola.mkgmap.osmstyle.eval.Op
AND, CLOSE_PAREN, EQUALS, EXISTS, GT, GTE, LT, LTE, NOT, NOT_EQUALS, NOT_EXISTS, OPEN_PAREN, OR, REGEX, VALUE
 
Constructor Summary
AbstractBinaryOp()
           
 
Method Summary
 Op getSecond()
          Get the second operand.
 void setSecond(Op second)
          Set the second operand.
 java.lang.String toString()
           
 
Methods inherited from class uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp
createOp, getFirst, getType, hasHigherPriority, isType, setFirst, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.me.parabola.mkgmap.osmstyle.eval.Op
eval, getFirst, getType, hasHigherPriority, isType, priority, setFirst, value
 

Constructor Detail

AbstractBinaryOp

public AbstractBinaryOp()
Method Detail

getSecond

public Op getSecond()
Description copied from interface: BinaryOp
Get the second operand.

Specified by:
getSecond in interface BinaryOp

setSecond

public void setSecond(Op second)
Description copied from interface: BinaryOp
Set the second operand.

Specified by:
setSecond in interface BinaryOp

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object