public class CharBuffer extends FString
data, emptycantWriteMarker, indexesATTRIBUTE_VALUE, BOOLEAN_VALUE, CDATA_VALUE, CHAR_VALUE, COMMENT_VALUE, DOCUMENT_VALUE, DOUBLE_VALUE, ELEMENT_VALUE, EOF_VALUE, eofValue, FLOAT_VALUE, INT_S16_VALUE, INT_S32_VALUE, INT_S64_VALUE, INT_S8_VALUE, INT_U16_VALUE, INT_U32_VALUE, INT_U64_VALUE, INT_U8_VALUE, OBJECT_VALUE, PRIM_VALUE, PROCESSING_INSTRUCTION_VALUE, TEXT_BYTE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
CharBuffer() |
|
CharBuffer(FString str) |
|
CharBuffer(int initialSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(int start,
int count,
Consumer dest) |
void |
delete(int start,
int end) |
void |
dump() |
char[] |
getArray() |
int |
length()
Get length of string, in characters.
|
int |
nextIndex(int ipos)
Get the offset from the beginning corresponding to a position cookie.
|
void |
releasePos(int ipos)
Reclaim any resources used by the given position int.
|
java.lang.String |
toString() |
void |
writeTo(java.lang.Appendable dest) |
void |
writeTo(int start,
int count,
java.lang.Appendable dest)
Append a specified subsequence to an
Appendable. |
addAll, addAllStrings, alloc, append, append, append, append, appendCharacter, characterAt, consume, consumePosRange, copy, equals, fill, fill, get, getBuffer, getElementKind, getTag, indexOf, insert, insert, insertRepeated, lastIndexOf, replace, replace, replace, set, setAt, setBuffer, setCharacterAt, setCharAt, setCharAtBuffer, shift, subSequence, substring, toCharArray, withIndexescharAt, charAtBuffer, clearBuffer, compareTo, compareTo, compareTo, ensureBufferLength, equals, getBuffer, getBufferLength, getChars, hashCode, openReader, openReader, setBuffer, setBufferLengthadd, add, addPos, addSpace, fill, getGapManager, getRowMajor, getSegment, getSegment, getSegmentReadOnly, getStableManager, isAfterPos, readExternal, toDataArray, transpose, writeExternalcheckCanWrite, getIndexesForce, indexesSelect, indexesSubList, nextPos, select, size, subListaddAll, addAll, boundedHash, clear, compare, compare, compare, consumeNext, contains, containsAll, copyPos, createPos, createRelativePos, elements, endPos, equals, fill, fillPosRange, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, getAttribute, getAttributeLength, getContainingSequenceSize, getEffectiveIndex, getIndexDifference, getIterator, getIterator, getIteratorAtPos, getLowBound, getNextKind, getNextTypeName, getNextTypeObject, getPosNext, getPosPrevious, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hasNext, hasPrevious, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextMatching, parentPos, previousPos, rank, remove, remove, removeAll, removePos, removePosRange, retainAll, set, setPosNext, setPosPrevious, stableCompare, startPos, subSequence, subSequencePos, toArray, toArray, toString, unsupported, unsupportedExceptionclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, addAll, clear, contains, containsAll, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, subList, toArray, toArrayboundedHashget, getEffectiveIndex, getLowBound, getSize, isEmpty, rank, setpublic CharBuffer(FString str)
public CharBuffer(int initialSize)
protected CharBuffer()
public int length()
CharSeqlength in interface CharSeqlength in interface java.lang.CharSequencelength in class AbstractCharVector<Char>public char[] getArray()
public void delete(int start,
int end)
delete in class SimpleVector<Char>public void consume(int start,
int count,
Consumer dest)
consume in interface CharSeqconsume in class AbstractSequence<Char>public java.lang.String toString()
public void writeTo(int start,
int count,
java.lang.Appendable dest)
throws java.io.IOException
CharSeqAppendable.
An allowable implementation is:
dest.append(this, start, start+count).
Hence implementors of Appendable should avoid calling
writeTo - though they can call getChars.public void writeTo(java.lang.Appendable dest)
throws java.io.IOException
public void dump()
public int nextIndex(int ipos)
AbstractSequencenextIndex in class AbstractSequence<Char>public void releasePos(int ipos)
AbstractSequencereleasePos in class AbstractSequence<Char>ipos - the Pos being free'd.