@Internal public class SinglentonTextPiece extends TextPiece
PropertyNode.EndComparator, PropertyNode.StartComparator
_buf
Constructor and Description |
---|
SinglentonTextPiece(StringBuilder buffer) |
Modifier and Type | Method and Description |
---|---|
int |
bytesLength()
Returns the length, in bytes
|
int |
characterLength()
Returns the length, in characters
|
int |
getCP()
Returns the character position we start at.
|
int |
getEnd() |
int |
getStart() |
String |
toString() |
adjustForDelete, equals, getPieceDescriptor, getRawBytes, getStringBuffer, getStringBuilder, isUnicode, substring
clone, compareTo, hashCode, limitsAreEqual, setEnd, setStart
public SinglentonTextPiece(StringBuilder buffer) throws IOException
IOException
public int bytesLength()
TextPiece
bytesLength
in class TextPiece
public int characterLength()
TextPiece
characterLength
in class TextPiece
public int getCP()
TextPiece
public int getEnd()
getEnd
in class PropertyNode<TextPiece>
public int getStart()
getStart
in class PropertyNode<TextPiece>
Copyright © 2020. All rights reserved.