Initial commit
This commit is contained in:
19
sources/io/reactivex/internal/util/HashMapSupplier.java
Normal file
19
sources/io/reactivex/internal/util/HashMapSupplier.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package io.reactivex.internal.util;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public enum HashMapSupplier implements Callable<Map<Object, Object>> {
|
||||
INSTANCE;
|
||||
|
||||
public static <K, V> Callable<Map<K, V>> asCallable() {
|
||||
return INSTANCE;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public Map<Object, Object> call() throws Exception {
|
||||
return new HashMap();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user