Class 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.
    • Constructor Detail

      • Equals

        public Equals​(java.lang.Object value)
    • Method Detail

      • accept

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