All Packages Class Hierarchy This Package Previous Next Index
Class kl1.lang.Predicate
java.lang.Object
|
+----kl1.lang.KL1Object
|
+----kl1.lang.Predicate
- public class Predicate
- extends KL1Object
This class represents a predicate.
- Author:
- Satoshi KURAMOCHI
-
arity
- the number of args
-
func
- the module where the predicate defined.
-
pred
- the predicate number
-
Predicate(Module, int, int)
- Constructs a predicate.
-
equals(Predicate)
-
-
toString()
-
func
public Module func
- the module where the predicate defined.
pred
public int pred
- the predicate number
arity
public int arity
- the number of args
Predicate
public Predicate(Module func,
int pred,
int arity)
- Constructs a predicate.
- Parameters:
- func - the module where the predicate defined.
- pred - the predicate number.
- arity - the number of arguments.
toString
public String toString()
- Overrides:
- toString in class KL1Object
equals
public boolean equals(Predicate that)
All Packages Class Hierarchy This Package Previous Next Index