agg.util.csp
Class QueryOrder

java.lang.Object
  extended by agg.util.csp.QueryOrder
All Implemented Interfaces:
com.objectspace.jgl.BinaryPredicate, java.io.Serializable

public class QueryOrder
extends java.lang.Object
implements com.objectspace.jgl.BinaryPredicate

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.objectspace.jgl.BinaryPredicate
serialVersionUID
 
Constructor Summary
QueryOrder()
           
 
Method Summary
 boolean execute(java.lang.Object q1, java.lang.Object q2)
          Return true iff the weight of q1 is greater than the weight of q2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryOrder

public QueryOrder()
Method Detail

execute

public final boolean execute(java.lang.Object q1,
                             java.lang.Object q2)
Return true iff the weight of q1 is greater than the weight of q2.

Pre: q1,q2 instanceof Query.

Specified by:
execute in interface com.objectspace.jgl.BinaryPredicate
See Also:
Query