LazyLib

org.lazywizard.lazylib
Interface CollectionUtils.CollectionFilter<T>

Type Parameters:
T - The type of object to be filtered.

Enclosing class:
CollectionUtils

public static interface CollectionUtils.CollectionFilter<T>

Used with CollectionUtils.filter(Collection, CollectionUtils.CollectionFilter) to filter out unwanted entries in a Collection.

Since:
1.7

Method Summary
 boolean accept(T t)
          Returns if an object should be allowed past this filter.
 

Method Detail

accept

boolean accept(T t)
Returns if an object should be allowed past this filter.

Parameters:
t - The object to be checked.

Returns:
true if this object should be kept in the Collection.

Since:
1.7

LazyLib