org.activemath.tutor.coursegen.jshop2
Class Restrict

java.lang.Object
  extended by org.activemath.tutor.coursegen.jshop2.Restrict
All Implemented Interfaces:
JSHOP2.Calculate

public class Restrict
extends Object
implements JSHOP2.Calculate

Used during course generation for list manipulation. Takes two lists L1 and L2 as input and removes from L1 every element that also occurs in L2. Works only for lists containing JShop2 TermStrings.


Constructor Summary
Restrict()
           
 
Method Summary
 JSHOP2.Term call(JSHOP2.List arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Restrict

public Restrict()
Method Detail

call

public JSHOP2.Term call(JSHOP2.List arg0)
Specified by:
call in interface JSHOP2.Calculate