Rabbit-R1/android (non root)/java/sources/com/google/common/util/concurrent/SettableFuture.java
2024-05-21 17:08:36 -04:00

29 lines
896 B
Java

package com.google.common.util.concurrent;
import com.google.common.util.concurrent.AbstractFuture;
@ElementTypesAreNonnullByDefault
/* loaded from: classes3.dex */
public final class SettableFuture<V> extends AbstractFuture.TrustedFuture<V> {
public static <V> SettableFuture<V> create() {
return new SettableFuture<>();
}
@Override // com.google.common.util.concurrent.AbstractFuture
public boolean set(@ParametricNullness V v) {
return super.set(v);
}
@Override // com.google.common.util.concurrent.AbstractFuture
public boolean setException(Throwable th) {
return super.setException(th);
}
@Override // com.google.common.util.concurrent.AbstractFuture
public boolean setFuture(ListenableFuture<? extends V> listenableFuture) {
return super.setFuture(listenableFuture);
}
private SettableFuture() {
}
}