All Packages Class Hierarchy This Package Previous Next Index
Class kl1.lang.GVector
java.lang.Object
|
+----kl1.lang.KL1Object
|
+----kl1.lang.GDObj
|
+----kl1.lang.GVector
- public final class GVector
- extends GDObj
This class represents a vector object.
- Author:
- Satoshi KURAMOCHI
-
GVector()
- Constructs a vector object.
-
GVector(KL1Object[], boolean)
- Constructs a vector object.
-
()
-
-
_new(KL1Machine, KL1Object[])
- Creates generic objects.
-
compare(GDObj)
-
-
element_of_vector(IntAtom)
-
-
generic(KL1Machine, String, KL1Object[])
- Calls generic method.
-
ggeneric(String, KL1Object[])
- Calls guard generic method.
-
gunify(GDObj)
-
-
hash(int)
-
-
print()
- Prints the information of the object.
-
size_of_vector()
-
-
unify(KL1Machine, KL1Object)
- Unifies this object and
that
.
GVector
public GVector()
- Constructs a vector object.
GVector
public GVector(KL1Object body[],
boolean iscnst)
- Constructs a vector object.
- Parameters:
- body - the elements.
- iscnst - whether or not this is a constant.
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(GDObj that_)
- Overrides:
- compare in class GDObj
hash
public IntAtom hash(int level)
_new
public static KL1Object _new(KL1Machine mach,
KL1Object argv[])
- Creates generic objects.
size_of_vector
public IntAtom size_of_vector()
element_of_vector
public KL1Object element_of_vector(IntAtom k)
All Packages Class Hierarchy This Package Previous Next Index