org.d_haven.event
public interface EnqueuePredicate
Version: $Revision: 1.4 $
Method Summary | |
---|---|
boolean | accept(Object element, Sink modifyingSink)
Tests the given element for acceptance onto the m_sink.
|
boolean | accept(Object[] elements, Sink modifyingSink)
Tests the given element for acceptance onto the m_sink.
|
Parameters: element The element to enqueue modifyingSink The sink that is used for this predicate
Returns: true
if the sink accepts the element;
false
otherwise.
Since: Feb 10, 2003
Parameters: elements The array of elements to enqueue modifyingSink The sink that is used for this predicate
Returns: true
if the sink accepts all the elements;
false
otherwise.
Since: Feb 10, 2003