Method Summary |
|
final public CharWrap | append(String s) Appends the characters in the supplied string onto this CharWrap.
Parameters: s - A String holding the character data to be appended. |
public CharWrap | append(Object o) Appends the "toString" value of the supplied Object to this CharWrap. |
public CharWrap | append(CharWrap toappend) Appends the characters in the supplied CharWrap onto this CharWrap.
Parameters: toappend - A CharWrap holding the character data to be appended. |
public CharWrap | append(char[] array, int start, int length) Appends the specified character data onto this CharWrap.
Parameters: storage - The array holding the character data to be appended. Parameters: offset - The offset within the array of the beginning of the characterdata. Parameters: size - The length of the character data. |
public CharWrap | append(char c) Appends the specified character onto this CharWrap.
Parameters: c - The character to be appended. |
public CharWrap | append(int i) Parameters: i - Appends the specified integer rendered as a string onto thisCharWrap. |
final public void | appendFast(char c) Appends the specified character onto this CharWrap, without
bounds checks. |
public CharWrap | appendHexChar(char toappend) |
public CharWrap | appendPad(String s, int width, int dir) |
public int | capacity() Returns the number of characters that can be appended to this CharWrap
before it needs to reallocate its underlying character array. |
public char | charAt(int index) |
final public static String | charToHex(char tohex) Converts a character to a String holding a hexadecimal representation. |
public CharWrap | clear() Clears this CharWrap by setting its size to zero. |
final public void | ensureCapacity(int requiredsize) |
public boolean | equals(Object othero) Compares this CharWrap with another object. |
public int | hashCode() Computes a hashcode for this CharWrap. |
public void | imbue(char[] storage, int offset, int size) Imbues this CharWrap with the supplied parameters, i.e. aliasing the
supplied storage array. |
public int | indexOf(char tofind) Returns the first index at which a character appears in this CharWrap.
Parameters: tofind - The character to find. |
public int | size() Returns the number of characters stored within this CharWrap. |
public String | toDebugString() Converts this CharWrap to a new String object for debugging purposes. |
public String | toString() Converts this CharWrap to a new String object. |
public String | toString(int start) |