Package 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 java.lang.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.biojava.bio.search.FilterTest
FilterTest.Equals, FilterTest.FindRegex, FilterTest.GreaterThan, FilterTest.LessThan, FilterTest.MatchRegex
-
-
Constructor Summary
Constructors Constructor Description Equals(java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.lang.Object value)
-
-
-
Method Detail
-
accept
public boolean accept(java.lang.Object value)
- Specified by:
accept
in interfaceFilterTest
- Returns:
- returns true if test is successful.
-
-