@Internal public class OldTextPieceTable extends TextPieceTable
_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, getMaxRecordLength, getText, getTextPieces, hashCode, isIndexInTable, lookIndexBackward, lookIndexForward, setMaxRecordLength, 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 2022 The Apache Software Foundation or its licensors, as applicable.