Class PreparedArrayContainsComparison

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(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;
      boolean isEqual​(java.lang.Object array)  
      boolean isGreaterThan​(java.lang.Object array)  
      boolean isSmallerThan​(java.lang.Object array)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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: PreparedComparison
        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;
        Specified by:
        compareTo in interface PreparedComparison
      • isEqual

        public boolean isEqual​(java.lang.Object array)
      • isGreaterThan

        public boolean isGreaterThan​(java.lang.Object array)
      • isSmallerThan

        public boolean isSmallerThan​(java.lang.Object array)