I have the below code:
Map<String, Map<Double, String>> map = new HashMap<>();
Map<Double,String> Amap = new HashMap<>();
map.put(getValuesTypes.FUT(), HERE);
Instead of creating a Map first and put it at "HERE", I'm looking for a function like I could use with a List
there Arrays.asList(...)
so that i can just enter at "Here" ?.asMap({1.0,"A"}, {2.0,"B"})