what-the-bank/sources/com/google/common/util/concurrent/ForwardingCondition.java

46 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.common.util.concurrent;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Condition;
/* loaded from: classes2.dex */
abstract class ForwardingCondition implements Condition {
abstract Condition delegate();
@Override // java.util.concurrent.locks.Condition
public void await() throws InterruptedException {
delegate().await();
}
@Override // java.util.concurrent.locks.Condition
public boolean await(long j, TimeUnit timeUnit) throws InterruptedException {
return delegate().await(j, timeUnit);
}
@Override // java.util.concurrent.locks.Condition
public void awaitUninterruptibly() {
delegate().awaitUninterruptibly();
}
@Override // java.util.concurrent.locks.Condition
public long awaitNanos(long j) throws InterruptedException {
return delegate().awaitNanos(j);
}
@Override // java.util.concurrent.locks.Condition
public boolean awaitUntil(Date date) throws InterruptedException {
return delegate().awaitUntil(date);
}
@Override // java.util.concurrent.locks.Condition
public void signal() {
delegate().signal();
}
@Override // java.util.concurrent.locks.Condition
public void signalAll() {
delegate().signalAll();
}
}