Package com.db4o.foundation
Interface PreparedComparison<T>
-
- All Known Implementing Classes:
IntHandler.PreparedIntComparison
,Null
,PreparedArrayContainsComparison
,StandardReferenceTypeHandler.PreparedComparisonImpl
public interface PreparedComparison<T>
a prepared comparison, to compare multiple objects with one single object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
compareTo(T obj)
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;
-
-
-
Method Detail
-
compareTo
int compareTo(T obj)
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;
-
-