Class FullTripleComparer
Triple comparer which compares on subjects, then predicates and finally objects.
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class FullTripleComparer : BaseTripleComparer, IEqualityComparer<Triple>, IComparer<Triple>
Constructors
| Edit this page View SourceFullTripleComparer()
Creates a new Full Triple comparer.
Declaration
public FullTripleComparer()
FullTripleComparer(IComparer<INode>)
Creates a new Full Triple comparer that uses a specific Node comparer.
Declaration
public FullTripleComparer(IComparer<INode> nodeComparer)
Parameters
Type | Name | Description |
---|---|---|
IComparer<INode> | nodeComparer | Node comparer. |
Methods
| Edit this page View SourceCompare(Triple, Triple)
Compares two Triples.
Declaration
public override int Compare(Triple x, Triple y)
Parameters
Type | Name | Description |
---|---|---|
Triple | x | Triple. |
Triple | y | Triple. |
Returns
Type | Description |
---|---|
int |