All Packages Class Hierarchy This Package Previous Next Index
Class Jaja.MutableString
java.lang.Object
|
+----Jaja.Jaja
|
+----Jaja.Value
|
+----Jaja.MutableString
- public class MutableString
- extends Value
This is the class of mutable strings. Immutable strings form a subclass.
- See Also:
- ImmutableString
-
content
-
-
MutableString(int)
-
-
MutableString(int, char)
-
-
MutableString(String)
-
-
MutableString(Value[])
-
-
string_set(int, char)
- Modify a Jaja string at a position given by index to hold the
new character.
-
toReadableString()
- Convert a Value into a computer-readable Java String.
-
toString()
- Convert a Value into a human-readable Java String.
content
protected StringBuffer content
MutableString
public MutableString(String s)
MutableString
public MutableString(int size)
MutableString
public MutableString(int size,
char c)
MutableString
public MutableString(Value arguments[])
string_set
public Value string_set(int index,
char newChar)
- Modify a Jaja string at a position given by index to hold the
new character. Return the character that is overwritten.
toString
public String toString()
- Convert a Value into a human-readable Java String.
- Overrides:
- toString in class Value
toReadableString
public String toReadableString()
- Convert a Value into a computer-readable Java String.
- Overrides:
- toReadableString in class Value
All Packages Class Hierarchy This Package Previous Next Index