Package org.noggit
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) char
charAt
(int index) void
reserve
(int num) protected void
resize
(int len) void
unsafeWrite
(char b) void
unsafeWrite
(char[] b, int off, int len) void
unsafeWrite
(int b) void
write
(char b) void
write
(char[] b, int off, int len) void
Methods inherited from class org.noggit.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, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
NullCharArr
public NullCharArr()
-
-
Method Details
-
unsafeWrite
public void unsafeWrite(char b) - Overrides:
unsafeWrite
in classCharArr
-
unsafeWrite
public void unsafeWrite(char[] b, int off, int len) - Overrides:
unsafeWrite
in classCharArr
-
unsafeWrite
public void unsafeWrite(int b) - Overrides:
unsafeWrite
in classCharArr
-
write
public void write(char b) -
write
public void write(char[] b, int off, int len) -
reserve
public void reserve(int num) -
resize
protected void resize(int len) -
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classCharArr
- Throws:
IOException
-
charAt
public char charAt(int index) - Specified by:
charAt
in interfaceCharSequence
- Overrides:
charAt
in classCharArr
-
write
-