Class ObjectSubjectComparer
Triple comparer which compares on objects and then subjects.
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class ObjectSubjectComparer : BaseTripleComparer, IEqualityComparer<Triple>, IComparer<Triple>
Constructors
| Edit this page View SourceObjectSubjectComparer()
Creates a new Object Subject comparer.
Declaration
public ObjectSubjectComparer()
ObjectSubjectComparer(IComparer<INode>)
Creates a new Object Subject comparer using the provided Node comparer.
Declaration
public ObjectSubjectComparer(IComparer<INode> nodeComparer)
Parameters
Type | Name | Description |
---|---|---|
IComparer<INode> | nodeComparer |
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 |