what-the-bank/sources/com/google/android/gms/common/api/DataBufferResponse.java

68 lines
2.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.api;
import android.os.Bundle;
import com.google.android.gms.common.api.Result;
import com.google.android.gms.common.data.AbstractDataBuffer;
import com.google.android.gms.common.data.DataBuffer;
import java.util.Iterator;
/* loaded from: classes.dex */
public class DataBufferResponse<T, R extends AbstractDataBuffer<T> & Result> extends Response<R> implements DataBuffer<T> {
public DataBufferResponse() {
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.common.data.DataBuffer, java.io.Closeable, java.lang.AutoCloseable
public final void close() {
((AbstractDataBuffer) getResult()).close();
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.common.data.DataBuffer
public final T get(int i) {
return (T) ((AbstractDataBuffer) getResult()).get(i);
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.common.data.DataBuffer
public final int getCount() {
return ((AbstractDataBuffer) getResult()).getCount();
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.common.data.DataBuffer
public final Bundle getMetadata() {
return ((AbstractDataBuffer) getResult()).getMetadata();
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.common.data.DataBuffer
public final boolean isClosed() {
return ((AbstractDataBuffer) getResult()).isClosed();
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.common.data.DataBuffer, java.lang.Iterable
public final Iterator<T> iterator() {
return ((AbstractDataBuffer) getResult()).iterator();
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.common.data.DataBuffer, com.google.android.gms.common.api.Releasable
public final void release() {
((AbstractDataBuffer) getResult()).release();
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.google.android.gms.common.data.DataBuffer
public final Iterator<T> singleRefIterator() {
return ((AbstractDataBuffer) getResult()).singleRefIterator();
}
/* JADX WARN: Incorrect types in method signature: (TR;)V */
/* JADX WARN: Multi-variable type inference failed */
public DataBufferResponse(AbstractDataBuffer abstractDataBuffer) {
super(abstractDataBuffer);
}
}