41 lines
1.1 KiB
Java
41 lines
1.1 KiB
Java
package com.google.common.util.concurrent;
|
|
|
|
import java.util.concurrent.TimeUnit;
|
|
import java.util.concurrent.locks.Condition;
|
|
import java.util.concurrent.locks.Lock;
|
|
|
|
/* loaded from: classes2.dex */
|
|
abstract class ForwardingLock implements Lock {
|
|
abstract Lock delegate();
|
|
|
|
@Override // java.util.concurrent.locks.Lock
|
|
public void lock() {
|
|
delegate().lock();
|
|
}
|
|
|
|
@Override // java.util.concurrent.locks.Lock
|
|
public void lockInterruptibly() throws InterruptedException {
|
|
delegate().lockInterruptibly();
|
|
}
|
|
|
|
@Override // java.util.concurrent.locks.Lock
|
|
public boolean tryLock() {
|
|
return delegate().tryLock();
|
|
}
|
|
|
|
@Override // java.util.concurrent.locks.Lock
|
|
public boolean tryLock(long j, TimeUnit timeUnit) throws InterruptedException {
|
|
return delegate().tryLock(j, timeUnit);
|
|
}
|
|
|
|
@Override // java.util.concurrent.locks.Lock
|
|
public void unlock() {
|
|
delegate().unlock();
|
|
}
|
|
|
|
@Override // java.util.concurrent.locks.Lock
|
|
public Condition newCondition() {
|
|
return delegate().newCondition();
|
|
}
|
|
}
|