All Packages Class Hierarchy This Package Previous Next Index
Class kl1.lang.GFloat
java.lang.Object
|
+----kl1.lang.KL1Object
|
+----kl1.lang.GDObj
|
+----kl1.lang.GFloat
- public final class GFloat
- extends GDObj
This class represents a floating point.
- Author:
- Satoshi KURAMOCHI
-
value
-
-
GFloat(double)
- Constructs a float object.
-
()
-
-
_new(KL1Machine, KL1Object[])
- Creates generic objects.
-
compare(GFloat)
-
-
generic(KL1Machine, String, KL1Object[])
- Calls generic method.
-
ggeneric(String, KL1Object[])
- Calls guard generic method.
-
gunify(GDObj)
-
-
hash()
-
-
print()
- Prints the information of the object.
-
unify(KL1Machine, KL1Object)
- Unifies this object and
that
.
value
protected double value
GFloat
public GFloat(double value)
- Constructs a float object.
- Parameters:
- value - the value to be represented by the
GFloat
.
static void ()
gunify
public KL1Object gunify(GDObj that)
unify
public void unify(KL1Machine mach,
KL1Object that)
- Unifies this object and
that
.
- Overrides:
- unify in class GDObj
generic
public void generic(KL1Machine mach,
String method,
KL1Object argv[])
- Calls generic method.
- Overrides:
- generic in class GDObj
ggeneric
public KL1Object ggeneric(String method,
KL1Object argv[])
- Calls guard generic method.
- Overrides:
- ggeneric in class GDObj
print
public String print()
- Prints the information of the object.
- Overrides:
- print in class KL1Object
compare
public IntAtom compare(GFloat that)
hash
public IntAtom hash()
- Overrides:
- hash in class GDObj
_new
public static KL1Object _new(KL1Machine mach,
KL1Object argv[])
- Creates generic objects.
All Packages Class Hierarchy This Package Previous Next Index