java.io.Serializable, Closure<E>public final class NOPClosure<E> extends java.lang.Object implements Closure<E>, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
static Closure |
INSTANCE |
Singleton predicate instance
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute(E input) |
Do nothing.
|
static <E> Closure<E> |
nopClosure() |
Factory returning the singleton instance.
|
Copyright © 2001-2019 - Apache Software Foundation