- All Known Implementing Classes:
@Deprecated(since="2021-04-30") public interface ClosureDeprecated.Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.Defines a functor interface implemented by classes that do something.
Closurerepresents a block of code which is executed from inside some block, function or iteration. It operates an input object.
Standard implementations of common closures are provided by
ClosureUtils. These include method invokation and for/while loops.
- Commons Collections 1.0
void execute(Object input)Deprecated.Performs an action on the specified input object.