public static <E extends Comparable<E>> Filter<E> createLessThanFilter(final E base) {
    """
	Creates a filter where valid when an Comparable in a
	collection is considered <strong>less than</strong> the base object.
    """
        return createLessThanFilter(base, new Comparator<E>() 
        {
            public int compare(E obj1, E obj2)
            {
                return obj1.compareTo(obj2);
            }
        });
    }
public static <E extends Comparable<E>> Filter<E> createLessThanFilter(final E base) 
    {
        return createLessThanFilter(base, new Comparator<E>() 
        {
            public int compare(E obj1, E obj2)
            {
                return obj1.compareTo(obj2);
            }
        });
    }
public static < E extends Comparable < E > > Filter < E > createLessThanFilter ( final E base ) { return createLessThanFilter ( base , new Comparator < E > ( ) { public int compare ( E obj1 , E obj2 ) { return obj1 . compareTo ( obj2 ) ; } } ) ; }
Creates a filter where valid when an Comparable in a
collection is considered <strong>less than</strong> the base object.
Creates a filter where valid when an Comparable in a collection is considered <strong > less than< / strong > the base object .