Class IntegerComparisonTerm

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected IntegerComparisonTerm​(int comparison, int number)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Equality comparison.
      int getComparison​()
      Return the type of comparison.
      int getNumber​()
      Return the number to compare with.
      int hashCode​()
      Compute a hashCode for this object.
      protected boolean match​(int i)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • number

        protected int number
        The number.
    • Constructor Detail

      • IntegerComparisonTerm

        protected IntegerComparisonTerm​(int comparison,
                                        int number)
    • Method Detail

      • getNumber

        public int getNumber​()
        Return the number to compare with.
        Returns:
        the number
      • getComparison

        public int getComparison​()
        Return the type of comparison.
        Returns:
        the comparison type
      • match

        protected boolean match​(int i)
      • equals

        public boolean equals​(java.lang.Object obj)
        Equality comparison.
        Overrides:
        equals in class ComparisonTerm
      • hashCode

        public int hashCode​()
        Compute a hashCode for this object.
        Overrides:
        hashCode in class ComparisonTerm