Package gnu.kawa.functions
Class IsEqual
- java.lang.Object
-
- gnu.mapping.PropertySet
-
- gnu.mapping.Procedure
-
- gnu.mapping.Procedure2
-
- gnu.kawa.functions.IsEqual
-
- All Implemented Interfaces:
Named
- Direct Known Subclasses:
Unify
public class IsEqual extends Procedure2
Implement the standard Scheme procedure equal? and the Lisp equal.
-
-
Field Summary
-
Fields inherited from class gnu.mapping.Procedure2
applyToObject
-
Fields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
-
Fields inherited from class gnu.mapping.PropertySet
nameKey
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(Object arg1, Object arg2)
boolean
apply(Object arg1, Object arg2, Map<Object,ArrayList<Object>> map)
Object
apply2(Object arg1, Object arg2)
boolean
match(Object arg1, Object arg2, Map<Object,ArrayList<Object>> map)
static boolean
numberEquals(Number num1, Number num2)
-
Methods inherited from class gnu.mapping.Procedure2
apply0, apply1, apply3, apply4, applyN, applyToObject, numArgs
-
Methods inherited from class gnu.mapping.Procedure
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
-
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
-
-
-
Method Detail
-
apply2
public Object apply2(Object arg1, Object arg2)
- Specified by:
apply2
in classProcedure2
-
-