30 lines
778 B
Java
30 lines
778 B
Java
package io.reactivex.internal.util;
|
|
|
|
import io.reactivex.functions.Function;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.concurrent.Callable;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public enum ArrayListSupplier implements Callable<List<Object>>, Function<Object, List<Object>> {
|
|
INSTANCE;
|
|
|
|
public static <T> Callable<List<T>> asCallable() {
|
|
return INSTANCE;
|
|
}
|
|
|
|
public static <T, O> Function<O, List<T>> asFunction() {
|
|
return INSTANCE;
|
|
}
|
|
|
|
@Override // io.reactivex.functions.Function
|
|
public List<Object> apply(Object obj) throws Exception {
|
|
return new ArrayList();
|
|
}
|
|
|
|
@Override // java.util.concurrent.Callable
|
|
public List<Object> call() throws Exception {
|
|
return new ArrayList();
|
|
}
|
|
}
|