oprsteny.com
Java – How to store Array of pairs
In this article you can see a sample code I use to store simple Key-Value pairs in another objects, i.e. List or ArrayList