IPreparedComparison Interface

Summary

a prepared comparison, to compare multiple objects with one single object.
graph BT Type["IPreparedComparison"] class Type type-node Implementing0["PreparedArrayContainsComparison"]-.->Type click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/PreparedArrayContainsComparison" Implementing1["Null"]-.->Type click Implementing1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/Null" Implementing2["IntHandler.PreparedIntComparison"]-.->Type click Implementing2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Handlers/PreparedIntComparison" Implementing3["StandardReferenceTypeHandler.PreparedComparisonImpl"]-.->Type click Implementing3 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal.Handlers/PreparedComparisonImpl"

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;