org.apache.commons.collections.functors
Class NOPClosure
java.lang.Object
org.apache.commons.collections.functors.NOPClosure
- Closure, Serializable
public class NOPClosure
extends java.lang.Object
Closure implementation that does nothing.
$Revision: 348444 $ $Date: 2005-11-23 14:06:56 +0000 (Wed, 23 Nov 2005) $
INSTANCE
public static final Closure INSTANCE
Singleton predicate instance
execute
public void execute(Object input)
Do nothing.
- execute in interface Closure
getInstance
public static Closure getInstance()
Factory returning the singleton instance.
Copyright © 2001-2015 Apache Software Foundation. All Rights Reserved.