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