Class BaseTripleComparer
Abstract base class for Triple Comparers which provide for comparisons using different node comparers.
Inheritance
BaseTripleComparer
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseTripleComparer : TripleEqualityComparer, IEqualityComparer<Triple>, IComparer<Triple>
Constructors
| Edit this page 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 |
---|---|---|
IComparer<INode> | nodeComparer | Node Comparer to use. |
Fields
| Edit this page View Source_nodeComparer
Node Comparer.
Declaration
protected readonly IComparer<INode> _nodeComparer
Field Value
Type | Description |
---|---|
IComparer<INode> |
Methods
| Edit this page 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 |