Class TripleEqualityComparer
Compares triples for equality.
Implements
System.Collections.Generic.IEqualityComparer<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 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 |
---|---|
System.Int32 |
Implements
System.Collections.Generic.IEqualityComparer<T>