* values.
*/
@SuppressWarnings({"unchecked"})
public static <K1, K2, V> Map<K1, Map<K2, V>>
newDoubleKeyedDefaultingValueMap(final Function<K2, V> defaultingFunction) {
return new MapMaker().makeComputingMap(
new Function<K1, Map<K2, V>>() {
@Override
public Map<K2, V> apply(K1 obj) {
return new MapMaker().makeComputingMap(defaultingFunction);
}
});
}