public static class DocumentRevisionTree.DocumentRevisionNode extends AbstractTreeNode<DocumentRevision> implements java.lang.Comparable<AbstractTreeNode<DocumentRevision>>
A node in a document's revision tree history.
Constructor and Description |
---|
DocumentRevisionNode(DocumentRevision documentRevision) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractTreeNode<DocumentRevision> o) |
boolean |
equals(java.lang.Object that) |
int |
hashCode() |
addChild, depth, equals, getData, hasChildren, iterateChildren, numberOfChildren, setData, toString
public DocumentRevisionNode(DocumentRevision documentRevision)
public int compareTo(AbstractTreeNode<DocumentRevision> o)
compareTo
in interface java.lang.Comparable<AbstractTreeNode<DocumentRevision>>
public boolean equals(java.lang.Object that)
equals
in class AbstractTreeNode<DocumentRevision>
public int hashCode()
hashCode
in class AbstractTreeNode<DocumentRevision>