Class CharBuffer
java.lang.Object
org.springframework.shell.test.jediterm.terminal.model.CharBuffer
- All Implemented Interfaces:
CharSequence
,Iterable<Character>
- Direct Known Subclasses:
SubCharBuffer
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCharBuffer
(char[] buf, int start, int length) CharBuffer
(char c, int count) CharBuffer
(String str) -
Method Summary
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
EMPTY
-
-
Constructor Details
-
CharBuffer
public CharBuffer(char[] buf, int start, int length) -
CharBuffer
public CharBuffer(char c, int count) -
CharBuffer
-
-
Method Details
-
iterator
-
getBuf
public char[] getBuf() -
getStart
public int getStart() -
subBuffer
-
subBuffer
-
isNul
public boolean isNul() -
unNullify
public void unNullify() -
length
public int length()- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
clone
-