Click or drag to resize

TripleCompareTo Method

Implementation of CompareTo for Triples which allows Triples to be sorted.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public int CompareTo(
	Triple other
)

Parameters

other
Type: VDS.RDFTriple
Triple to compare to.

Return Value

Type: Int32

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

Implements

IComparableTCompareTo(T)
Remarks
Triples are Ordered by Subjects, Predicates and then Objects. Triples are only partially orderable since the CompareTo methods on Nodes only define a partial ordering over Nodes.
See Also