Class ObjectSubjectComparer
Triple comparer which compares on objects and then subjects.
Implements
System.Collections.Generic.IEqualityComparer<Triple>
System.Collections.Generic.IComparer<Triple>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
public class ObjectSubjectComparer : BaseTripleComparer, IEqualityComparer<Triple>, IComparer<Triple>
Constructors
| Improve this Doc 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 |
---|---|---|
System.Collections.Generic.IComparer<INode> | nodeComparer |
Methods
| Improve this Doc 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 |
---|---|
System.Int32 |
Overrides
Implements
System.Collections.Generic.IEqualityComparer<T>
System.Collections.Generic.IComparer<T>