Beispiel #1
0
 public static bool after(NodeType a, NodeType b)
 {
     return(compare_node(a, b) > 0);
 }
Beispiel #2
0
 public virtual bool after(NodeType two)
 {
     return(after(this, two));
 }
Beispiel #3
0
 public virtual bool before(NodeType two)
 {
     return(before(this, two));
 }
Beispiel #4
0
 public static bool before(NodeType a, NodeType b)
 {
     return(compare_node(a, b) < 0);
 }
Beispiel #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
 }