gnu.lists
public class SubCharSeq extends SubSequence implements CharSeq
Constructor Summary | |
---|---|
SubCharSeq(AbstractSequence base, int startPos, int endPos) |
Method Summary | |
---|---|
char | charAt(int index) |
void | consume(int start, int count, Consumer out) |
void | fill(char value) Set all the elements to a given character. |
void | fill(int fromIndex, int toIndex, char value) |
void | getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) Copy characters into a destination buffer.
|
int | length() Get length of string, in characters.
|
void | setCharAt(int index, char ch) |
List | subList(int fromIx, int toIx) |
CharSequence | subSequence(int start, int end) |
String | toString() |
void | writeTo(int start, int count, Writer dest)
Write out (part of) this string. |
void | writeTo(Writer dest) |
Parameters: start index of initial character to write count number of characters to write dest where to write the characters