Friday, March 16, 2012

Null Object Pattern

To avoid lot of procedural code for checking null pointers, we can implement as singleton NullObject for any class which will behave same as real instance without affecting the system stability.

The NullObject should be singleton, static and 100% immutable.



1 comment:

Anonymous said...

The Public Inspection pageon FederalRegister.gov provides a preview of paperwork scheduled to appear in the next day's Federal Register problem. The Public Inspection page may include paperwork scheduled for later points, on the request of the issuing company. Aluminum MIC-6 is cast plate recognized for its stability and consistency between plates. It has superior flatness and dimensional Fingerprint Door Lock tolerances on the thickness which makes it in style for tooling and base plates.