public final class CharSequencePointer extends Object implements CharSequence
CharSequence
wrapper that allows mutation of the pointed delegate sequence.Constructor and Description |
---|
CharSequencePointer() |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int startIndex) |
IntStream |
chars() |
IntStream |
codePoints() |
int |
length() |
void |
reset(CharSequence delegate,
int startIndex,
int endIndex) |
CharSequence |
subSequence(int startIndex,
int endIndex) |
String |
toString() |
public void reset(CharSequence delegate, int startIndex, int endIndex)
public int length()
length
in interface CharSequence
public char charAt(int startIndex)
charAt
in interface CharSequence
public CharSequence subSequence(int startIndex, int endIndex)
subSequence
in interface CharSequence
public IntStream chars()
chars
in interface CharSequence
public IntStream codePoints()
codePoints
in interface CharSequence
public String toString()
toString
in interface CharSequence
toString
in class Object
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.