Package com.db4o.internal
Class PreparedArrayContainsComparison
- java.lang.Object
-
- com.db4o.internal.PreparedArrayContainsComparison
-
- All Implemented Interfaces:
PreparedComparison
public class PreparedArrayContainsComparison extends java.lang.Object implements PreparedComparison
-
-
Constructor Summary
Constructors Constructor Description PreparedArrayContainsComparison(Context context, ArrayHandler arrayHandler, TypeHandler4 typeHandler, java.lang.Object obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object 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;booleanisEqual(java.lang.Object array)booleanisGreaterThan(java.lang.Object array)booleanisSmallerThan(java.lang.Object array)
-
-
-
Constructor Detail
-
PreparedArrayContainsComparison
public PreparedArrayContainsComparison(Context context, ArrayHandler arrayHandler, TypeHandler4 typeHandler, java.lang.Object obj)
-
-
Method Detail
-
compareTo
public int compareTo(java.lang.Object obj)
Description copied from interface:PreparedComparisonreturn 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;- Specified by:
compareToin interfacePreparedComparison
-
isEqual
public boolean isEqual(java.lang.Object array)
-
isGreaterThan
public boolean isGreaterThan(java.lang.Object array)
-
isSmallerThan
public boolean isSmallerThan(java.lang.Object array)
-
-