org.biojava.bio.search
Class FilterTest.Equals
java.lang.Object
org.biojava.bio.search.FilterTest.Equals
- All Implemented Interfaces:
- FilterTest
- Enclosing interface:
- FilterTest
public static class FilterTest.Equals
- extends Object
- implements FilterTest
Tests that the value associated with the specified
key is equal to the value supplied here by whatever
criterion of equality appropriate to those objects.
A value of false is returned by accept() if a
ClassCastException is thrown on comparing the objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterTest.Equals
public FilterTest.Equals(Object value)
accept
public boolean accept(Object value)
- Specified by:
accept
in interface FilterTest
- Returns:
- returns true if test is successful.