|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.uzh.ifi.attempto.chartparser.StringRef
public class StringRef
This class represents a string object that can unify with other string objects.
Constructor Summary | |
---|---|
StringRef()
Creates a new string object with null as value. |
|
StringRef(java.lang.String string)
Creates a new string object with the given value. |
Method Summary | |
---|---|
java.lang.String |
getString()
Returns the value of this string object. |
void |
unify(StringRef stringObj)
Unifies this string object with another string object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringRef()
public StringRef(java.lang.String string)
string
- The value of the new string object.Method Detail |
---|
public void unify(StringRef stringObj) throws UnificationFailedException
stringObj
- The string object to be unified with this string object.
UnificationFailedException
- If unification fails.public java.lang.String getString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |