cz.cuni.amis.utils
Interface IFilter<T>

Type Parameters:
T -

public interface IFilter<T>

Simple iterface for filtering objects of arbitrary types.

Usually used in some forms of for/while cycles that determines acceptability of objects they iterate over.


Method Summary
 boolean isAccepted(T object)
          Returns true if the 'object' if accepted for further computation
 

Method Detail

isAccepted

boolean isAccepted(T object)
Returns true if the 'object' if accepted for further computation

Parameters:
object - object to be examined
Returns:
acceptability of the 'object'