Esempio n. 1
0
 public static bool after(NodeType a, NodeType b)
 {
     return(compare_node(a, b) > 0);
 }
Esempio n. 2
0
 public virtual bool after(NodeType two)
 {
     return(after(this, two));
 }
Esempio n. 3
0
 public virtual bool before(NodeType two)
 {
     return(before(this, two));
 }
Esempio n. 4
0
 public static bool before(NodeType a, NodeType b)
 {
     return(compare_node(a, b) < 0);
 }
Esempio n. 5
0
 public static bool same(NodeType a, NodeType b)
 {
     return(a.node_value().isSameNode(b.node_value()));
     // While compare_node(a, b) == 0 is tempting, it is also expensive
 }