forbodings of a traveller

Tuesday, December 25, 2012

Collections : Keys in a Map 3 And Final

›
Finally this post is about the class which is immutable and can be a valid key in a Map. We would correct both the approaches we have discu...

Collections : Keys In a Map 2

›
Next I tried to write a key class which would not have a setter method. But what if the state of the property is changed by the inheritors ...

Collections : Keys in a Map 1

›
Some time ago I was needed to write my own custom classes for keys in Maps. That brought me to the concept of immutable classes which are n...
Thursday, December 13, 2012

Design Patterns : Abstract Factory Pattern 3

›
Finally we are now ready to see the Solution of our problem. The Abstract factory can return the exact type of Computer by calling the requ...

Design Patterns : Abstract Factory Pattern 2

›
The reader might have already observed that we need a component interface to define the minimum three components of the Computer factories....
Wednesday, December 12, 2012

Design Patterns : Abstract Factory Pattern 1

›
Some years ago in an interview for an entry-to-middle level job, I was asked by the interviewer about the Abstract Factory. The inte...
Tuesday, December 11, 2012

Design Patterns : Factory Pattern 2

›
Finally we come to the main class of our little POC We now focus our attention to the factory class ChildFactory ChildFactory wh...
›
Home
View web version

About Me

Unknown
View my complete profile
Powered by Blogger.