Tuesday, April 30, 2013

Elasticsearch Book

ElasticSearch ServerFinished reading ElasticSearch Server book from Packt Publishing. A great resource to have by your desk if you're working with ES. Hoping to see more ES books in market, but this a very good start. Fairly complete in all aspects of ES. I'll do a more detailed review one of these days, when I've more free time on hand.

Tuesday, June 5, 2012

Java 1.7 Collections - UML Class Diagrams

Java Collections - UML Class Diagrams

*UPDATE* - The PDF links were wrong, now corrected. Also Hashtable was misspelled as HashTable.

I made these UML class diagrams for the Java Collection APIs ( List, Set, Queue, & Map). Click on the diagram for a bigger image.

The list is valid from JDK 1.0 right up to the latest JDK 7 (1.7).

Interfaces are in "Gray", abstract classes in "Yellow", and concrete classes are in "Green". The interfaces have their methods listed, I didn't bother with the methods and fields for abstract classes or concrete classes, as you're supposed to use Interfaces anyways.

A "Red" circle next to a Class, denotes an obsolete class, which you should not be using, unless working with legacy code. A "Green" circle next to a class/interface means that class/interface is from the "java.util.concurrent" package.


Below each diagram is a link for an interactive image map and also a printable PDF. The image map has links to the respective javadocs for each interface/class, and also a brief description of each interface/class in form of a tool-tip.

List

Java List APIs

 

Set

Java Set APIs

 

Queue

Java Queue APIs

 

Map

Java Map APIs

 

Collection

i.e. List + Set + Queue

Java Collection APIs