|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.NoOpLambda
public class NoOpLambda
Represents the identity map. Null-object pattern for ILambda.
| Field Summary | |
|---|---|
static NoOpLambda |
Singleton
This is the class field that gives access to the one instance of this class |
| Constructor Summary | |
|---|---|
private |
NoOpLambda()
A private constructor keeps everyone except this class from constructing an instance. |
| Method Summary | |
|---|---|
java.lang.Object |
apply(java.lang.Object arg)
Does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final NoOpLambda Singleton
| Constructor Detail |
|---|
private NoOpLambda()
| Method Detail |
|---|
public java.lang.Object apply(java.lang.Object arg)
apply in interface ILambdaarg - input object for this ILambda object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||