org.biojava.bio.search
Class FilterTest.GreaterThan
java.lang.Object
org.biojava.bio.search.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterTest.GreaterThan
public FilterTest.GreaterThan(double threshold)
accept
public boolean accept(Object value)
- Specified by:
accept
in interface FilterTest
- Returns:
- returns true if test is successful.