Class FilterTest.GreaterThan

  • All Implemented Interfaces:
    FilterTest
    Enclosing interface:
    FilterTest

    public static class FilterTest.GreaterThan
    extends Object
    implements FilterTest
    Tests that the value associated with the specified key is greater than the specified threshold. The test assumes that value is a String representing a real number. If not, the test will return null.
    • Constructor Detail

      • GreaterThan

        public GreaterThan​(double threshold)
    • Method Detail

      • accept

        public boolean accept​(Object value)
        Specified by:
        accept in interface FilterTest
        Returns:
        returns true if test is successful.