IPreparedComparison Interface

Summary

a prepared comparison, to compare multiple objects with one single object.
IPreparedComparison

Syntax

public interface IPreparedComparison

Remarks

a prepared comparison, to compare multiple objects with one single object.

Methods

Name Value Summary
CompareTo(Object) int
return a negative int, zero or a positive int if the object being held in 'this' is smaller, equal or greater than the passed object.

Typical implementation: return this.object - obj;