| Methods in com.threerings.util that return DefaultMap |
static
|
DefaultMap.newHashMap(Function<K,V> creator)
Creates a default map backed by a HashMap using the supplied default creator. |
static
|
DefaultMap.newInstanceHashMap(Class<V> clazz)
Creates a default map backed by a HashMap that creates instances of the supplied
class (using its no-args constructor) as defaults. |
static
|
DefaultMap.newInstanceMap(Map<K,V> delegate,
Class<V> clazz)
Creates a default map backed by the supplied map that creates instances of the supplied
class (using its no-args constructor) as defaults. |
static
|
DefaultMap.newMap(Map<K,V> delegate,
Function<K,V> creator)
Creates a default map backed by the supplied map using the supplied default creator. |