public class NodeImpl extends Object implements Node, Comparable<Node>
Constructor and Description |
---|
NodeImpl(Integer id)
Construction from id.
|
NodeImpl(Integer id,
Long offset)
Construction from id and offset.
|
public int compareTo(Node other) throws ClassCastException
compareTo
in interface Comparable<Node>
ClassCastException