@Internal public abstract class PropertyNode<T extends PropertyNode<T>> extends Object implements Comparable<T>, Cloneable
BytePropertyNode between you and this.| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyNode.EndComparator |
static class |
PropertyNode.StartComparator |
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyNode(int fcStart,
int fcEnd,
Object buf) |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustForDelete(int start,
int length)
Adjust for a deletion that can span multiple PropertyNodes.
|
T |
clone() |
int |
compareTo(T o)
Used for sorting in collections.
|
boolean |
equals(Object o) |
int |
getEnd() |
int |
getStart() |
int |
hashCode() |
protected boolean |
limitsAreEqual(Object o) |
void |
setEnd(int end) |
void |
setStart(int start) |
protected Object _buf
protected PropertyNode(int fcStart,
int fcEnd,
Object buf)
fcStart - The start of the text for this property, in characters.fcEnd - The end of the text for this property, in characters.buf - FIXME: Old documentation is: "grpprl The property description in compressed form."public int getStart()
public void setStart(int start)
public int getEnd()
public void setEnd(int end)
public void adjustForDelete(int start,
int length)
start - length - protected boolean limitsAreEqual(Object o)
public T clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic int compareTo(T o)
compareTo in interface Comparable<T extends PropertyNode<T>>Copyright © 2020. All rights reserved.