Today I will present to you the pinnacle of software engineering. This is the stuff boys… ehm… peeps. This what we have been looking for these years… a data strucuture so flexible, so effective… you can put everything in it. I present to you… The GOD Data Structure. Of course, this is a concept, so you can write it any language.
Behold, the 11th Commandment:
11. Thou shalt keep data in a Hash Map of Hash Maps
Here I preset to you the implementation in Java:
private Map<?, Map<?, ?>> GOD = new HashMap<Object, Map<?, ?>>();
As you can see… You can put anything in it. You can even put itself into it.