public final class NullEnqueuePredicate extends java.lang.Object implements EnqueuePredicate
| Constructor and Description |
|---|
NullEnqueuePredicate() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public boolean accept(java.lang.Object element,
Sink modifyingSink)
EnqueuePredicateaccept in interface EnqueuePredicateelement - The element to enqueuemodifyingSink - The sink that is used for this predicatetrue if the sink accepts the element;
false otherwise.public boolean accept(java.lang.Object[] element,
Sink modifyingSink)
EnqueuePredicateaccept in interface EnqueuePredicateelement - The array of elements to enqueuemodifyingSink - The sink that is used for this predicatetrue if the sink accepts all the elements;
false otherwise.public java.lang.String toString()
toString in class java.lang.Object