Class NOPClosure<E>
- java.lang.Object
-
- org.apache.commons.collections4.functors.NOPClosure<E>
-
- All Implemented Interfaces:
Serializable
,Closure<E>
public final class NOPClosure<E> extends Object implements Closure<E>, Serializable
Closure implementation that does nothing.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(E input)
Do nothing.static <E> Closure<E>
nopClosure()
Factory returning the singleton instance.
-