java.lang.Cloneable, java.lang.Comparable<T>BytePropertyNode, CachedPropertyNode, GenericPropertyNode, SEPX, TextPiece@Internal public abstract class PropertyNode<T extends PropertyNode<T>> extends java.lang.Object implements java.lang.Comparable<T>, java.lang.Cloneable
BytePropertyNode between you and this.| Modifier and Type | Class | Description |
|---|---|---|
static class |
PropertyNode.EndComparator |
|
static class |
PropertyNode.StartComparator |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.Object |
_buf |
| Modifier | Constructor | Description |
|---|---|---|
protected |
PropertyNode(int fcStart,
int fcEnd,
java.lang.Object buf) |
| Modifier and Type | Method | 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(java.lang.Object o) |
|
int |
getEnd() |
|
int |
getStart() |
|
int |
hashCode() |
|
protected boolean |
limitsAreEqual(java.lang.Object o) |
|
void |
setEnd(int end) |
|
void |
setStart(int start) |
protected PropertyNode(int fcStart,
int fcEnd,
java.lang.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(java.lang.Object o)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic T clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic int compareTo(T o)
compareTo in interface java.lang.Comparable<T extends PropertyNode<T>>Copyright 2018 The Apache Software Foundation or its licensors, as applicable.