|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections.functors.NOPClosure<T>
public class NOPClosure<T>
Closure implementation that does nothing.
| Field Summary | |
|---|---|
static Closure |
INSTANCE
Singleton predicate instance |
| Method Summary | |
|---|---|
void |
execute(T input)
Do nothing. |
static Closure |
getInstance()
Factory returning the singleton instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Closure INSTANCE
| Method Detail |
|---|
public static Closure getInstance()
public void execute(T input)
execute in interface Closure<T>input - the input object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||