zeus.concepts.fn
Class IntFn
java.lang.Object
zeus.concepts.fn.ValueFunction
zeus.concepts.fn.IntFn
- All Implemented Interfaces:
- NumericFn, PrimitiveFn, PrimitiveNumericFn
- public class IntFn
- extends ValueFunction
- implements PrimitiveFn, PrimitiveNumericFn
|
Field Summary |
protected long |
arg
|
| Fields inherited from class zeus.concepts.fn.ValueFunction |
AND, ARITH, BOOL, COMP, CONS, CONSB, DATE, ELSE, FACT, FIELD, FUNC, ID, ID_MAX, ID_MIN, IMPLY, INT, IS_DETERMINATE, LAND, LNOT, LOR, LVAR, METH, METHOD_LIST, OR, PD_MAX, PD_MIN, precedence, REAL, TIME, TO_STRING, type, TYPE, VECT |
|
Constructor Summary |
IntFn(int arg)
|
IntFn(long arg)
|
IntFn(java.lang.String arg)
|
| Methods inherited from class zeus.concepts.fn.ValueFunction |
baseID, duplicate, duplicate, evaluationFn, getArg, getID, getPD, invokeMethod, normalize, resolve, resolve, simplify, unifiesWith, variables |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
arg
protected long arg
IntFn
public IntFn(long arg)
IntFn
public IntFn(int arg)
IntFn
public IntFn(java.lang.String arg)
mirror
public ValueFunction mirror()
- Specified by:
mirror in class ValueFunction
toString
public java.lang.String toString()
getArg
java.lang.Object getArg(int position)
- Specified by:
getArg in class ValueFunction
getValue
public int getValue()
longValue
public long longValue()
- Specified by:
longValue in interface PrimitiveNumericFn
doubleValue
public double doubleValue()
- Specified by:
doubleValue in interface PrimitiveNumericFn
intValue
public int intValue()
- Specified by:
intValue in interface PrimitiveNumericFn
references
public boolean references(ValueFunction var)
- Specified by:
references in class ValueFunction
isDeterminate
public boolean isDeterminate()
- Specified by:
isDeterminate in class ValueFunction
equals
public boolean equals(java.lang.Object any)
less
public boolean less(java.lang.Object any)
- Specified by:
less in interface PrimitiveFn
unify
ValueFunction unify(ValueFunction fn,
Bindings b)
- Specified by:
unify in class ValueFunction
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.