|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections4.functors.NOPClosure<E>
public final class NOPClosure<E>
Closure implementation that does nothing.
Field Summary | |
---|---|
static Closure<Object> |
INSTANCE
Singleton predicate instance |
Method Summary | ||
---|---|---|
void |
execute(E input)
Do nothing. |
|
static
|
nopClosure()
Factory returning the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Closure<Object> INSTANCE
Method Detail |
---|
public static <E> Closure<E> nopClosure()
E
- the type that the closure acts on
public void execute(E input)
execute
in interface Closure<E>
input
- the input object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |