Show / Hide Table of Contents

Class FastNodeComparer

A Node Comparer which does faster comparisons since it only does lexical comparisons for literals rather than value comparisons.

Inheritance
object
FastNodeComparer
Implements
IComparer<INode>
IEqualityComparer<INode>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class FastNodeComparer : IComparer<INode>, IEqualityComparer<INode>

Methods

| Edit this page View Source

Compare(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
int
| Edit this page View Source

Equals(INode, INode)

Declaration
public bool Equals(INode x, INode y)
Parameters
Type Name Description
INode x
INode y
Returns
Type Description
bool
| Edit this page View Source

GetHashCode(INode)

Declaration
public int GetHashCode(INode obj)
Parameters
Type Name Description
INode obj
Returns
Type Description
int

Implements

IComparer<T>
IEqualityComparer<T>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • Compare(INode, INode)
    • Equals(INode, INode)
    • GetHashCode(INode)
  • Implements
  • Extension Methods
Back to top Generated by DocFX