fill
public void fill(char value)
Set all the elements to a given character.
- fill in interface CharSeq
fill
public void fill(int fromIndex,
int toIndex,
char value)- fill in interface CharSeq
getChars
public void getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin)Copy characters into a destination buffer.
Same interface as java.lang.String's getChars.
- getChars in interface CharSeq
length
public int length()
Get length of string, in characters.
Synonym for size(), for compatibility with String and StringBuffer.
- length in interface CharSeq
setCharAt
public void setCharAt(int index,
char ch)- setCharAt in interface CharSeq
subSequence
public CharSequence subSequence(int start,
int end)- subSequence in interface CharSeq
writeTo
public void writeTo(int start,
int count,
java.io.Writer dest)
throws java.io.IOException Write out (part of) this string.
- writeTo in interface CharSeq
start - index of initial character to writecount - number of characters to writedest - where to write the characters
writeTo
public void writeTo(java.io.Writer dest)
throws java.io.IOException- writeTo in interface CharSeq