- Type Parameters:
T
- the type of the input to the operation.
- All Implemented Interfaces:
Serializable
, Consumer<T>
, Closure<T>
Closure implementation that does nothing.
- Since:
- 3.0
- See Also:
-
-
Field Summary
Fields
Singleton predicate instance
-
Method Summary
void
Factory returning the singleton instance.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.collections4.Closure
accept
-
Field Details
-
INSTANCE
Singleton predicate instance
-
Method Details
-
nopClosure
Factory returning the singleton instance.
- Type Parameters:
E
- the type that the closure acts on
- Returns:
- the singleton instance
- Since:
- 3.1
-
execute
Do nothing.
- Specified by:
execute
in interface Closure<T>
- Parameters:
input
- the input object