mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-18 11:57:18 +01:00
35 lines
1.1 KiB
Java
35 lines
1.1 KiB
Java
package com.google.common.util.concurrent;
|
|
|
|
import com.google.common.annotations.GwtCompatible;
|
|
import com.google.common.util.concurrent.AbstractFuture;
|
|
import com.google.errorprone.annotations.CanIgnoreReturnValue;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@GwtCompatible
|
|
/* loaded from: classes8.dex */
|
|
public final class SettableFuture<V> extends AbstractFuture.TrustedFuture<V> {
|
|
private SettableFuture() {
|
|
}
|
|
|
|
public static <V> SettableFuture<V> create() {
|
|
return new SettableFuture<>();
|
|
}
|
|
|
|
@Override // com.google.common.util.concurrent.AbstractFuture
|
|
@CanIgnoreReturnValue
|
|
public boolean set(@ParametricNullness V v) {
|
|
return super.set(v);
|
|
}
|
|
|
|
@Override // com.google.common.util.concurrent.AbstractFuture
|
|
@CanIgnoreReturnValue
|
|
public boolean setException(Throwable th) {
|
|
return super.setException(th);
|
|
}
|
|
|
|
@Override // com.google.common.util.concurrent.AbstractFuture
|
|
@CanIgnoreReturnValue
|
|
public boolean setFuture(ListenableFuture<? extends V> listenableFuture) {
|
|
return super.setFuture(listenableFuture);
|
|
}
|
|
}
|