For example, how would you declare a triple map of the type -
Map<String, Map<String, Map<Boolean, String>>>, with the keys being someKey1, someKey2, and someKey3 (true/false)?
I know before that -
<util:map id="someMap" map-class="java.util.HashMap" key-type="java.lang.String" value-type="java.lang.String"> <entry key="someKey1" value="someValue" /> </util:map>
EDIT:
Ok, this is what I want to do to reduce the number of if statements.
123: //some key 1 abc: //some key 2 true: //some key 3 a //some value false: //some key 3 b //some value 456: def: true: c false: d
Thanks a lot.
Alex
source share