Class BaseTripleComparer
Abstract base class for Triple Comparers which provide for comparisons using different node comparers.
Inheritance
System.Object
BaseTripleComparer
Implements
System.Collections.Generic.IEqualityComparer<T><Triple>
System.Collections.Generic.IComparer<T><Triple>
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 abstract class BaseTripleComparer : TripleEqualityComparer, IEqualityComparer<Triple>, IComparer<Triple>
Constructors
| Improve this Doc View SourceBaseTripleComparer()
Creates a new Triple Comparer.
Declaration
protected BaseTripleComparer()
BaseTripleComparer(IComparer<INode>)
Creates a new Triple Comparer.
Declaration
protected BaseTripleComparer(IComparer<INode> nodeComparer)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IComparer<T><INode> | nodeComparer | Node Comparer to use. |
Fields
| Improve this Doc View Source_nodeComparer
Node Comparer.
Declaration
protected readonly IComparer<INode> _nodeComparer
Field Value
Type | Description |
---|---|
System.Collections.Generic.IComparer<T><INode> |
Methods
| Improve this Doc View SourceCompare(Triple, Triple)
Compares two Triples.
Declaration
public abstract int Compare(Triple x, Triple y)
Parameters
Type | Name | Description |
---|---|---|
Triple | x | Triple. |
Triple | y | Triple. |
Returns
Type | Description |
---|---|
int |
Implements
System.Collections.Generic.IEqualityComparer<T>
System.Collections.Generic.IComparer<T>