Package jason.asSyntax
Class PredicateIndicator
java.lang.Object
jason.asSyntax.PredicateIndicator
- All Implemented Interfaces:
Serializable
,Comparable<PredicateIndicator>
public final class PredicateIndicator
extends Object
implements Comparable<PredicateIndicator>, Serializable
Represents the "type" of a predicate based on the functor and the arity, e.g.: ask/4
- See Also:
-
Constructor Summary
ConstructorDescriptionPredicateIndicator
(Atom ns, String functor, int arity) PredicateIndicator
(String functor, int arity) -
Method Summary
-
Constructor Details
-
PredicateIndicator
-
PredicateIndicator
-
-
Method Details
-
getFunctor
-
getArity
public int getArity() -
getNS
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<PredicateIndicator>
-
toString
-