org.perfectjpattern.core.api.behavioral.command
Class NullParameter
java.lang.Object
org.perfectjpattern.core.api.behavioral.command.NullParameter
- All Implemented Interfaces:
- ISingleton
public final class NullParameter
- extends Object
- implements ISingleton
Null Object Pattern implementation of Command Parameter
.
Prevents different Command
implementations from pushing
null
into the Receiver
's
execute
method.
NullParameter
is a Singleton therefore it can not be directly
instantiated, neither it may be extended.
- Version:
- $Revision: 1.0 $ $Date: Jun 19, 2007 10:17:38 PM $
- Author:
- Giovanni Azua
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static NullParameter getInstance()
- Returns Singleton instance of
NullParameter
.
- Returns:
- Singleton instance of
NullParameter
.
Copyright © 2007-2009. All Rights Reserved.