@Internal public class OldTextPieceTable extends TextPieceTable
TextPieceTable.FCComparator
_textPieces, _textPiecesFCOrder
Constructor and Description |
---|
OldTextPieceTable() |
OldTextPieceTable(byte[] documentStream,
byte[] tableStream,
int offset,
int size,
int fcMin,
java.nio.charset.Charset charset) |
Modifier and Type | Method and Description |
---|---|
protected int |
getEncodingMultiplier(TextPiece textPiece) |
protected TextPiece |
newTextPiece(int nodeStartChars,
int nodeEndChars,
byte[] buf,
PieceDescriptor pd) |
add, adjustForInsert, equals, getByteIndex, getCharIndex, getCharIndex, getCharIndexRanges, getCpMin, getText, getTextPieces, hashCode, isIndexInTable, lookIndexBackward, lookIndexForward, writeTo
public OldTextPieceTable()
public OldTextPieceTable(byte[] documentStream, byte[] tableStream, int offset, int size, int fcMin, java.nio.charset.Charset charset)
protected TextPiece newTextPiece(int nodeStartChars, int nodeEndChars, byte[] buf, PieceDescriptor pd)
newTextPiece
in class TextPieceTable
protected int getEncodingMultiplier(TextPiece textPiece)
getEncodingMultiplier
in class TextPieceTable
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.