Show / Hide Table of Contents

Class TripleEqualityComparer

Compares triples for equality.

Inheritance
System.Object
TripleEqualityComparer
BaseTripleComparer
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 Source

Equals(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
| Improve this Doc View Source

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>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Equals(Triple, Triple)
    • GetHashCode(Triple)
  • Implements
  • Extension Methods
Back to top Generated by DocFX