92 lines
3.2 KiB
Java
92 lines
3.2 KiB
Java
|
package com.google.common.collect;
|
||
|
|
||
|
import java.util.Collection;
|
||
|
import java.util.concurrent.BlockingDeque;
|
||
|
import java.util.concurrent.TimeUnit;
|
||
|
|
||
|
@Deprecated
|
||
|
/* loaded from: classes2.dex */
|
||
|
public abstract class ForwardingBlockingDeque<E> extends ForwardingDeque<E> implements BlockingDeque<E> {
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
@Override // com.google.common.collect.ForwardingDeque, com.google.common.collect.ForwardingQueue, com.google.common.collect.ForwardingCollection, com.google.common.collect.ForwardingObject
|
||
|
public abstract BlockingDeque<E> delegate();
|
||
|
|
||
|
protected ForwardingBlockingDeque() {
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingQueue
|
||
|
public int remainingCapacity() {
|
||
|
return delegate().remainingCapacity();
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque
|
||
|
public void putFirst(E e) throws InterruptedException {
|
||
|
delegate().putFirst(e);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque
|
||
|
public void putLast(E e) throws InterruptedException {
|
||
|
delegate().putLast(e);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque
|
||
|
public boolean offerFirst(E e, long j, TimeUnit timeUnit) throws InterruptedException {
|
||
|
return delegate().offerFirst(e, j, timeUnit);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque
|
||
|
public boolean offerLast(E e, long j, TimeUnit timeUnit) throws InterruptedException {
|
||
|
return delegate().offerLast(e, j, timeUnit);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque
|
||
|
public E takeFirst() throws InterruptedException {
|
||
|
return delegate().takeFirst();
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque
|
||
|
public E takeLast() throws InterruptedException {
|
||
|
return delegate().takeLast();
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque
|
||
|
public E pollFirst(long j, TimeUnit timeUnit) throws InterruptedException {
|
||
|
return delegate().pollFirst(j, timeUnit);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque
|
||
|
public E pollLast(long j, TimeUnit timeUnit) throws InterruptedException {
|
||
|
return delegate().pollLast(j, timeUnit);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque, java.util.concurrent.BlockingQueue
|
||
|
public void put(E e) throws InterruptedException {
|
||
|
delegate().put(e);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque, java.util.concurrent.BlockingQueue
|
||
|
public boolean offer(E e, long j, TimeUnit timeUnit) throws InterruptedException {
|
||
|
return delegate().offer(e, j, timeUnit);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque, java.util.concurrent.BlockingQueue
|
||
|
public E take() throws InterruptedException {
|
||
|
return delegate().take();
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingDeque, java.util.concurrent.BlockingQueue
|
||
|
public E poll(long j, TimeUnit timeUnit) throws InterruptedException {
|
||
|
return delegate().poll(j, timeUnit);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingQueue
|
||
|
public int drainTo(Collection<? super E> collection) {
|
||
|
return delegate().drainTo(collection);
|
||
|
}
|
||
|
|
||
|
@Override // java.util.concurrent.BlockingQueue
|
||
|
public int drainTo(Collection<? super E> collection, int i) {
|
||
|
return delegate().drainTo(collection, i);
|
||
|
}
|
||
|
}
|