Class TripleEqualityComparer
Compares triples for equality.
Implements
System.Collections.Generic.IEqualityComparer<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 TripleEqualityComparer : IEqualityComparer<Triple>
Methods
| Improve this Doc View SourceEquals(Triple, Triple)
Returns whether two Triples are equal.
Declaration
public bool Equals(Triple x, Triple y)
Parameters
Type | Name | Description |
---|---|---|
Triple | x | Triple. |
Triple | y | Triple. |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode(Triple)
Returns a predictable HashCode for the triple based on its components'.
Declaration
public int GetHashCode(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
Returns
Type | Description |
---|---|
int |
Implements
System.Collections.Generic.IEqualityComparer<T>