|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.uni_tuebingen.sfb.lichtenstein.formulas.Variable de.uni_tuebingen.sfb.lichtenstein.formulas.SetDenotator de.uni_tuebingen.sfb.lichtenstein.formulas.Predicate
public final class Predicate
A class representing a predicate. It registers a label with which it corresponds in the model structure.
Field Summary |
---|
Fields inherited from class de.uni_tuebingen.sfb.lichtenstein.formulas.Variable |
---|
name |
Constructor Summary | |
---|---|
Predicate(String label)
Initialize a new predicate, with a given label. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Indicates whether some other object is “equal to” this one. |
static Predicate |
getInstance(String name)
Factory method to get a predicate. |
String |
getLabel()
Get the label of this predicate. |
int |
hashCode()
Returns a hash code value for the object. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class de.uni_tuebingen.sfb.lichtenstein.formulas.SetDenotator |
---|
contains, logicalEquals, subset, superset |
Methods inherited from class de.uni_tuebingen.sfb.lichtenstein.formulas.Variable |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Predicate(String label)
label
- The label of the predicate.Method Detail |
---|
public static Predicate getInstance(String name) throws NullPointerException
name
- The name of the predicate.NullPointerException
- [CAN]
If the name is null.public String getLabel()
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Variable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |