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