src/main/java/com/workplacesystems/utilsj/collections/helpers/ComparisonFilterFactory.java
public static <E> Filter<E> createEqualToFilter(final Object base) 
    {
        return new Filter<E>() {
            public boolean isValid(E obj)
            {
                return obj.equals(base);
            }
        };
    }
public static <E> Filter<E> createEqualToFilter(final Object base) 
    {
        return new Filter<E>() {
            public boolean isValid(E obj)
            {
                return obj.equals(base);
            }
        };
    }
public static < E > Filter < E > createEqualToFilter ( final Object base ) { return new Filter < E > ( ) { public boolean isValid ( E obj ) { return obj . equals ( base ) ; } } ; }
Creates a filter where valid when an object in a
collection is the <strong>equal to</strong> the base object.
Creates a filter where valid when an object in a collection is the <strong > equal to< / strong > the base object .