org.activemath.tutor.coursegen.jshop2
Class Restrict
java.lang.Object
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.
|
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 |
Restrict
public Restrict()
call
public JSHOP2.Term call(JSHOP2.List arg0)
- Specified by:
call in interface JSHOP2.Calculate