jd.xml.xpath.object
Class Relation

java.lang.Object
  extended byjd.xml.xpath.object.Relation

public abstract class Relation
extends Object

Relation represents the relational operators <, <=, > and >=.


Field Summary
static Relation GREATER
           
static Relation GREATER_EQUALS
           
static Relation LESS
           
static Relation LESS_EQUALS
           
 
Method Summary
abstract  boolean compare(double n1, double n2)
           
 Relation getReverse()
           
 String getSymbol()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LESS

public static final Relation LESS

LESS_EQUALS

public static final Relation LESS_EQUALS

GREATER

public static final Relation GREATER

GREATER_EQUALS

public static final Relation GREATER_EQUALS
Method Detail

getReverse

public Relation getReverse()

getSymbol

public String getSymbol()

compare

public abstract boolean compare(double n1,
                                double n2)