Class ObjectComparer
Triple comparer which compares only on objects.
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class ObjectComparer : BaseTripleComparer, IEqualityComparer<Triple>, IComparer<Triple>
Constructors
| Edit this page View SourceObjectComparer()
Creates a new Object comparer.
Declaration
public ObjectComparer()
ObjectComparer(IComparer<INode>)
Creates a new Object comparer using the provided Node comparer.
Declaration
public ObjectComparer(IComparer<INode> nodeComparer)
Parameters
Type | Name | Description |
---|---|---|
IComparer<INode> | nodeComparer | Node comparer. |
Methods
| Edit this page View SourceCompare(Triple, Triple)
Compares two Triples.
Declaration
public override int Compare(Triple x, Triple y)
Parameters
Type | Name | Description |
---|---|---|
Triple | x | Triple. |
Triple | y | Triple. |
Returns
Type | Description |
---|---|
int |