Class CharSequencePointer
java.lang.Object
org.apache.logging.log4j.layout.template.json.util.CharSequencePointer
- All Implemented Interfaces:
CharSequence
A
CharSequence wrapper that allows mutation of the pointed delegate sequence.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int startIndex) chars()intlength()voidreset(CharSequence delegate, int startIndex, int endIndex) subSequence(int startIndex, int endIndex) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
isEmpty
-
Constructor Details
-
CharSequencePointer
public CharSequencePointer()
-
-
Method Details
-
reset
-
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int startIndex) - Specified by:
charAtin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
chars
- Specified by:
charsin interfaceCharSequence
-
codePoints
- Specified by:
codePointsin interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-