@Test public void root() throws Exception { assertTrue(new Node<InvariantSpan>(10).isRoot()); }
public boolean isRoot() { return parent == null; }
Node { public boolean isRoot() { return parent == null; } }
Node { public boolean isRoot() { return parent == null; } Node(long weight);  Node(T value); }
Node { public boolean isRoot() { return parent == null; } Node(long weight);  Node(T value); long characterCount(); boolean isLeaf(); boolean isRightNode(); boolean isRoot(); Node<T> split(long leftPartitionWidth); @Override String toString(); }
Node { public boolean isRoot() { return parent == null; } Node(long weight);  Node(T value); long characterCount(); boolean isLeaf(); boolean isRightNode(); boolean isRoot(); Node<T> split(long leftPartitionWidth); @Override String toString(); public boolean isRed; public Node<T> left; public Node<T> parent; public Node<T> right; public String tag; final T value; public long weight; }