org.qi4j.api.specification
Interface Specification<T>

Type Parameters:
T -

public interface Specification<T>

Generic specification interface.


Method Summary
 boolean satisfiedBy(T item)
          Test whether an item matches the given specification
 

Method Detail

satisfiedBy

boolean satisfiedBy(T item)
Test whether an item matches the given specification

Parameters:
item - the item to be tested
Returns:
true if the item matches, false otherwise