public static class SymbolicLayoutReader.KeYlessEquivalenceClass extends SymbolicLayoutReader.AbstractKeYlessElement implements ISymbolicEquivalenceClass
ISymbolicEquivalenceClass which is independent
from KeY and provides such only children and default attributes.| Modifier and Type | Field and Description |
|---|---|
private String |
representativeString
The representative term.
|
private ImmutableList<String> |
termStrings
The terms.
|
| Constructor and Description |
|---|
KeYlessEquivalenceClass(ImmutableList<String> termStrings,
String representativeString)
Constructor.
|
KeYlessEquivalenceClass(String representativeString)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTermString(String termString)
Add a new child term string.
|
boolean |
containsTerm(Term term)
Checks if a
Term is contained. |
Term |
getRepresentative()
Returns the most representative term.
|
String |
getRepresentativeString()
Returns the most representative term as human readable
String. |
ImmutableList<Term> |
getTerms()
Returns the terms which represents the same
ISymbolicObject. |
ImmutableList<String> |
getTermStrings()
Returns the terms which represents the same
ISymbolicObject as human readable String. |
getSettingsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSettingsprivate ImmutableList<String> termStrings
private String representativeString
public KeYlessEquivalenceClass(String representativeString)
representativeString - The representative term.public KeYlessEquivalenceClass(ImmutableList<String> termStrings, String representativeString)
termStrings - The terms.representativeString - The representative term.public ImmutableList<Term> getTerms()
ISymbolicObject.getTerms in interface ISymbolicEquivalenceClassISymbolicObject.public ImmutableList<String> getTermStrings()
ISymbolicObject as human readable String.getTermStrings in interface ISymbolicEquivalenceClassISymbolicObject as human readable String.public void addTermString(String termString)
object - The term string to add.public Term getRepresentative()
getRepresentative in interface ISymbolicEquivalenceClasspublic String getRepresentativeString()
String.getRepresentativeString in interface ISymbolicEquivalenceClassString.public boolean containsTerm(Term term)
Term is contained.containsTerm in interface ISymbolicEquivalenceClassterm - The Term to check.true Term is contained, false Term is not contained.