PropertyNode.EndComparator, PropertyNode.StartComparator_buf| Constructor and Description |
|---|
SinglentonTextPiece(java.lang.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() |
java.lang.String |
toString() |
adjustForDelete, equals, getPieceDescriptor, getRawBytes, getStringBuffer, getStringBuilder, isUnicode, substringclone, compareTo, hashCode, limitsAreEqual, setEnd, setStartpublic SinglentonTextPiece(java.lang.StringBuilder buffer)
throws java.io.IOException
java.io.IOExceptionpublic int bytesLength()
TextPiecebytesLength in class TextPiecepublic int characterLength()
TextPiececharacterLength in class TextPiecepublic int getCP()
TextPiecepublic int getEnd()
getEnd in class PropertyNode<TextPiece>public int getStart()
getStart in class PropertyNode<TextPiece>Copyright 2014 The Apache Software Foundation or its licensors, as applicable.