public class SwtCharBuffer extends FString
| Modifier and Type | Field and Description |
|---|---|
protected LineOffsets |
lineOffsets |
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| Constructor and Description |
|---|
SwtCharBuffer(int initialSize) |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
void |
delete(int where,
int end) |
protected void |
gapReserve(int where,
int needed) |
void |
getChars(int start,
int end,
char[] dest,
int destStart)
Copy characters into a destination buffer.
|
void |
insert(int where,
java.lang.String str) |
int |
length()
Get length of string, in characters.
|
int |
offset2pos(int offset) |
int |
pos2offset(int pos) |
protected static java.lang.String |
printable(java.lang.String s) |
protected void |
shiftGap(int newGapStart) |
protected void |
show() |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
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, substring, toCharArray, withIndexes, writeTo, writeTocharAtBuffer, clearBuffer, compareTo, compareTo, compareTo, ensureBufferLength, equals, getBuffer, getBufferLength, 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, consume, 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, nextIndex, nextMatching, parentPos, previousPos, rank, releasePos, 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, setprotected LineOffsets lineOffsets
public java.lang.CharSequence subSequence(int start,
int end)
public int pos2offset(int pos)
public int offset2pos(int offset)
protected void gapReserve(int where,
int needed)
protected void shiftGap(int newGapStart)
public int length()
CharSeqlength in interface CharSeqlength in interface java.lang.CharSequencelength in class AbstractCharVector<Char>CharSequence.length()public char charAt(int index)
charAt in interface CharSeqcharAt in interface java.lang.CharSequencecharAt in class AbstractCharVector<Char>CharSequence.charAt(int)public void insert(int where,
java.lang.String str)
where - str - public void delete(int where,
int end)
delete in class SimpleVector<Char>public void getChars(int start,
int end,
char[] dest,
int destStart)
AbstractCharVectorgetChars in interface CharSeqgetChars in class AbstractCharVector<Char>public java.lang.String toString()
protected void show()
protected static java.lang.String printable(java.lang.String s)