Interface Constant
- All Superinterfaces:
Comparable<Term>, Serializable, Term
- All Known Subinterfaces:
Literal
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier of this term.getLabel()Return a label that represents this term.Methods inherited from interface Comparable
compareToMethods inherited from interface Term
getType, isConstant, isLiteral, isVariable
-
Method Details
-
getLabel
String getLabel()Description copied from interface:TermReturn a label that represents this term. There is no guarantee that two terms with the same label represent the same term (seeTerm.getIdentifier()). -
getIdentifier
Object getIdentifier()Description copied from interface:TermA unique identifier of this term. The following constraint must be fulfil:
this.getIdentifier().equals(o.getIdentifier())must be equivalent tothis.equals(o).- Specified by:
getIdentifierin interfaceTerm- Returns:
- a unique identifier of this term.
-