Class TripleEqualityComparer
Compares triples for equality.
Implements
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class TripleEqualityComparer : IEqualityComparer<Triple>
Methods
| Edit this page 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 |
---|---|
bool |
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 |