Class IntRangeFilterElement

    • Constructor Detail

      • IntRangeFilterElement

        IntRangeFilterElement​(int lowerBound,
                              int upperBound)
        Constructs a IntRangeFilterElement with a lower bound and an upper bound for the range.
        Parameters:
        lowerBound - the lower bound of the range.
        upperBound - the upper bound of the range.
    • Method Detail

      • accept

        public boolean accept​(int intValue)
        Description copied from interface: IntFilterElement
        Determines whether or not a filtered Integer is accepted.
        Specified by:
        accept in interface IntFilterElement
        Parameters:
        intValue - the Integer to filter.
        Returns:
        true if the intValue is accepted.