Class FastNodeComparer
A Node Comparer which does faster comparisons since it only does lexical comparisons for literals rather than value comparisons.
Inheritance
System.Object
FastNodeComparer
Implements
System.Collections.Generic.IComparer<INode>
System.Collections.Generic.IEqualityComparer<INode>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
public class FastNodeComparer : IComparer<INode>, IEqualityComparer<INode>
Methods
| Improve this Doc View SourceCompare(INode, INode)
Compares two Nodes.
Declaration
public int Compare(INode x, INode y)
Parameters
Type | Name | Description |
---|---|---|
INode | x | Node. |
INode | y | Node. |
Returns
Type | Description |
---|---|
System.Int32 |
Equals(INode, INode)
Declaration
public bool Equals(INode x, INode y)
Parameters
Type | Name | Description |
---|---|---|
INode | x | |
INode | y |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode(INode)
Declaration
public int GetHashCode(INode obj)
Parameters
Type | Name | Description |
---|---|---|
INode | obj |
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.Collections.Generic.IComparer<T>
System.Collections.Generic.IEqualityComparer<T>