|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.d_haven.event.impl.NullEnqueuePredicate
public final class NullEnqueuePredicate
The NullEnqueuePredicate does nothing to limit a Pipe's ability to enqueue.
| Constructor Summary | |
|---|---|
NullEnqueuePredicate()
|
|
| Method Summary | |
|---|---|
boolean |
accept(java.lang.Object[] element,
Sink modifyingSink)
Tests the given element for acceptance onto the m_sink. |
boolean |
accept(java.lang.Object element,
Sink modifyingSink)
Tests the given element for acceptance onto the m_sink. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NullEnqueuePredicate()
| Method Detail |
|---|
public boolean accept(java.lang.Object element,
Sink modifyingSink)
EnqueuePredicate
accept in interface EnqueuePredicateelement - The element to enqueuemodifyingSink - The sink that is used for this predicate
true if the sink accepts the element;
false otherwise.
public boolean accept(java.lang.Object[] element,
Sink modifyingSink)
EnqueuePredicate
accept in interface EnqueuePredicateelement - The array of elements to enqueuemodifyingSink - The sink that is used for this predicate
true if the sink accepts all the elements;
false otherwise.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||