Class NullCharArr
java.lang.Object
org.noggit.CharArr
org.noggit.NullCharArr
- All Implemented Interfaces:
Appendable, CharSequence
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(CharSequence csq, int start, int end) charcharAt(int index) voidreserve(int num) protected voidresize(int len) voidunsafeWrite(char b) voidunsafeWrite(char[] b, int off, int len) voidunsafeWrite(int b) voidwrite(char b) voidwrite(char[] b, int off, int len) voidMethods inherited from class CharArr
append, append, capacity, close, fill, flush, getArray, getEnd, getStart, length, read, read, read, reset, set, setEnd, setStart, size, subSequence, toCharArray, toString, write, write, write, writeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface CharSequence
chars, codePoints, getChars, isEmpty
-
Constructor Details
-
NullCharArr
public NullCharArr()
-
-
Method Details
-
unsafeWrite
public void unsafeWrite(char b) - Overrides:
unsafeWritein classCharArr
-
unsafeWrite
public void unsafeWrite(char[] b, int off, int len) - Overrides:
unsafeWritein classCharArr
-
unsafeWrite
public void unsafeWrite(int b) - Overrides:
unsafeWritein classCharArr
-
write
-
write
-
reserve
-
resize
-
append
- Specified by:
appendin interfaceAppendable- Overrides:
appendin classCharArr- Throws:
IOException
-
charAt
public char charAt(int index) - Specified by:
charAtin interfaceCharSequence- Overrides:
charAtin classCharArr
-
write
-