|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.collections15.functors.closure.NOPClosure<E>
public class NOPClosure<E>
Closure
implementation that does nothing.
Constructor Summary | |
---|---|
protected |
NOPClosure()
Creates a Closure which does nothing. |
Method Summary | ||
---|---|---|
void |
execute(E input)
Does nothing. |
|
static
|
getInstance()
Returns a Closure which does nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected NOPClosure()
Closure
which does nothing.
Method Detail |
---|
public static <T> Closure<T> getInstance()
Closure
which does nothing.
Closure
which does nothing.public void execute(E input)
execute
in interface Closure<E>
input
- The input object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |