Class IntegerComparisonTerm

    • 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)
      • hashCode

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