|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Filter<T>
A filter that either blocks a particle or allows it to pass through. This filter merely blocks or allows passage -- it is not a transformer. The particles to which the filter is applied remain unchanged by their passage.
Version Info:
$Revision: 696 $ |
$Date: 2007-06-06 17:27:00 -0600 (Wed, 06 Jun 2007) $ |
$Author: dharland $ (last person to modify) |
Method Summary | |
---|---|
boolean |
allows(T particle)
Returns true if this filter allows particle
to pass through. |
boolean |
blocks(T particle)
Returns true if this filter blocks particle
from passing through. |
Method Detail |
---|
boolean allows(T particle)
particle
to pass through.
particle
- an object attempting to pass through this filter.
particle
.boolean blocks(T particle)
particle
from passing through.
particle
- an object attempting to pass through this filter.
particle
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |