Class PredicateObjectComparer
Triple comparer which compares on predicates and then objects.
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 class PredicateObjectComparer : BaseTripleComparer, IEqualityComparer<Triple>, IComparer<Triple>
Constructors
| Improve this Doc View SourcePredicateObjectComparer()
Creates a new Predicate Object comparer.
Declaration
public PredicateObjectComparer()
PredicateObjectComparer(IComparer<INode>)
Creates a new Predicate Object comparer using the provided Node comparer.
Declaration
public PredicateObjectComparer(IComparer<INode> nodeComparer)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IComparer<T><INode> | nodeComparer | Node comparer. |
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 |
---|---|
int |
Overrides
Implements
System.Collections.Generic.IEqualityComparer<T>
System.Collections.Generic.IComparer<T>