29 lines
861 B
Java
29 lines
861 B
Java
|
package com.google.common.util.concurrent;
|
||
|
|
||
|
import com.google.common.util.concurrent.AbstractFuture;
|
||
|
|
||
|
/* loaded from: classes2.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 final boolean set(V v) {
|
||
|
return super.set(v);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.util.concurrent.AbstractFuture
|
||
|
public final boolean setException(Throwable th) {
|
||
|
return super.setException(th);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.util.concurrent.AbstractFuture
|
||
|
public final boolean setFuture(ListenableFuture<? extends V> listenableFuture) {
|
||
|
return super.setFuture(listenableFuture);
|
||
|
}
|
||
|
|
||
|
private SettableFuture() {
|
||
|
}
|
||
|
}
|