Example #1
0
 /**
  * Constructs node from given node.
  *
  * @param node whose parameters will be used.
  */
 public Node(Node node) {
   this(node.getName(), node.getValue());
 }
Example #2
0
 @Override
 public int compareTo(Node o) {
   return value.compareTo(o.getValue());
 }