public class StringRepresentation extends Representation
String.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
s
The
String represented by this representation. |
| Constructor and Description |
|---|
StringRepresentation(java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
get()
Returns the represented
String. |
int |
hashCode() |
java.lang.String |
toString() |
public java.lang.String get()
String.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object