what-the-bank/sources/com/google/common/collect/ForwardingDeque.java

97 lines
2.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.common.collect;
import java.util.Deque;
import java.util.Iterator;
/* loaded from: classes2.dex */
public abstract class ForwardingDeque<E> extends ForwardingQueue<E> implements Deque<E> {
/* JADX INFO: Access modifiers changed from: protected */
@Override // com.google.common.collect.ForwardingQueue, com.google.common.collect.ForwardingCollection, com.google.common.collect.ForwardingObject
public abstract Deque<E> delegate();
@Override // java.util.Deque
public void addFirst(E e) {
delegate().addFirst(e);
}
@Override // java.util.Deque
public void addLast(E e) {
delegate().addLast(e);
}
@Override // java.util.Deque
public Iterator<E> descendingIterator() {
return delegate().descendingIterator();
}
@Override // java.util.Deque
public E getFirst() {
return delegate().getFirst();
}
@Override // java.util.Deque
public E getLast() {
return delegate().getLast();
}
@Override // java.util.Deque
public boolean offerFirst(E e) {
return delegate().offerFirst(e);
}
@Override // java.util.Deque
public boolean offerLast(E e) {
return delegate().offerLast(e);
}
@Override // java.util.Deque
public E peekFirst() {
return delegate().peekFirst();
}
@Override // java.util.Deque
public E peekLast() {
return delegate().peekLast();
}
@Override // java.util.Deque
public E pollFirst() {
return delegate().pollFirst();
}
@Override // java.util.Deque
public E pollLast() {
return delegate().pollLast();
}
@Override // java.util.Deque
public E pop() {
return delegate().pop();
}
@Override // java.util.Deque
public void push(E e) {
delegate().push(e);
}
@Override // java.util.Deque
public E removeFirst() {
return delegate().removeFirst();
}
@Override // java.util.Deque
public E removeLast() {
return delegate().removeLast();
}
@Override // java.util.Deque
public boolean removeFirstOccurrence(Object obj) {
return delegate().removeFirstOccurrence(obj);
}
@Override // java.util.Deque
public boolean removeLastOccurrence(Object obj) {
return delegate().removeLastOccurrence(obj);
}
}