Class Kind
java.lang.Object
es.ucm.maude.bindings.Kind
A Maude kind (connected component of sorts).
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanCheck whether two kind are the same.booleanWhether the kind contains error terms.longhash()Get the hash value of the kind.intGet the number of maximal sorts in this kind.intnrSorts()Get the number of sorts in this kind.sort(int index) Get the sort with a given index in this kind.
toString()
-
Method Details
-
delete
public void delete() -
nrSorts
public int nrSorts()Get the number of sorts in this kind. -
nrMaximalSorts
public int nrMaximalSorts()Get the number of maximal sorts in this kind. -
sort
Get the sort with a given index in this kind.
- Parameters:
index- Sort index.
-
errorFree
public boolean errorFree()Whether the kind contains error terms. -
toString
-
hash
public long hash()Get the hash value of the kind. -
equal
Check whether two kind are the same.
-