@Internal public class SinglentonTextPiece extends TextPiece
PropertyNode.EndComparator, PropertyNode.StartComparator
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, hashCode, isUnicode, substring
clone, compareTo, setEnd, setStart
public SinglentonTextPiece(StringBuilder buffer)
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 © 2010 - 2020 Adobe. All Rights Reserved