I\'d like to create new item that similarly to Util.Map.Entry that will contain the structure key, value.
Util.Map.Entry
key
value
The problem is that
Try Maps.immutableEntry from Guava
This has the advantage of being compatible with Java 5 (unlike AbstractMap.SimpleEntry which requires Java 6.)
AbstractMap.SimpleEntry