Click or drag to resize

TripleEquals Method

Implementation of Equality for Triples.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public override bool Equals(
	Object obj
)

Parameters

obj
Type: SystemObject
Object to compare with.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:VDS.RDF.Triple.Equals(System.Object)"]

Remarks
Triples are considered equal on the basis of two things:.
  1. The Hash Codes of the Triples are identical
  2. The logical conjunction (AND) of the equality of the Subject, Predicate and Object is true. Each pair of Nodes must either be Equal using Node Equality or are both Blank Nodes and have identical Node IDs (i.e. are indistinguishable for equality purposes on a single Triple level)
See Also