JSHOP2
Class LessEq

java.lang.Object
  extended by JSHOP2.LessEq
All Implemented Interfaces:
Calculate

 class LessEq
extends java.lang.Object
implements Calculate

Each code call of the form (call <= ...) is implemented by an object of this class

Version:
1.0.3
Author:
Okhtay Ilghami, http://www.cs.umd.edu/~okhtay

Constructor Summary
LessEq()
           
 
Method Summary
 Term call(List l)
          This function executes the code call and returns something other than NIL if and only if each argument in its argument list is less than or equal to the next argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LessEq

LessEq()
Method Detail

call

public Term call(List l)
This function executes the code call and returns something other than NIL if and only if each argument in its argument list is less than or equal to the next argument.

Specified by:
call in interface Calculate
Parameters:
l - the arguments for this code call as a list of terms.
Returns:
the result of the code call, as a term.