public final class OctaveString extends Object implements OctaveObject
| Modifier and Type | Field and Description |
|---|---|
private static int |
PRIME |
private String |
value |
| Constructor and Description |
|---|
OctaveString(String string) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getString()
Returns the string represented by this object.
|
int |
hashCode() |
void |
setString(String string) |
OctaveString |
shallowCopy()
Make a shallow copy of this object.
|
String |
toString() |
private static final int PRIME
private String value
public OctaveString(String string)
string - public String getString()
public void setString(String string)
string - the string to setpublic OctaveString shallowCopy()
OctaveObjectOctaveObject is returned from a getter,
e.g. on OctaveStruct or OctaveStruct,
a shallow copy is returned in order to follow the way octave behaves.
This method is used to make that copy.shallowCopy in interface OctaveObjectCopyright © 2006–2018 Simuline Organization (l2r). All rights reserved.