Creates a new LoadingMap with the specified map and loader @param backingMap Actual map being used. @param loader Loader to use @param Key Type of the Map @param Value Type of the Map @return Map
(Map<K, V> backingMap, Function<K, V> loader)
| 71 | * @return Map |
| 72 | */ |
| 73 | public static <K, V> Map<K, V> of(Map<K, V> backingMap, Function<K, V> loader) { |
| 74 | return new LoadingMap<>(backingMap, loader); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Creates a LoadingMap with an auto instantiating loader. |
nothing calls this directly
no outgoing calls
no test coverage detected