28 lines
519 B
Java
28 lines
519 B
Java
|
package com.huawei.hms.common.data;
|
||
|
|
||
|
import android.os.Bundle;
|
||
|
import com.huawei.hms.common.api.Releasable;
|
||
|
import java.util.Iterator;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public interface DataBuffer<T> extends Releasable, Iterable<T> {
|
||
|
@Deprecated
|
||
|
void close();
|
||
|
|
||
|
T get(int i);
|
||
|
|
||
|
int getCount();
|
||
|
|
||
|
Bundle getMetadata();
|
||
|
|
||
|
@Deprecated
|
||
|
boolean isClosed();
|
||
|
|
||
|
Iterator<T> iterator();
|
||
|
|
||
|
@Override // com.huawei.hms.common.api.Releasable
|
||
|
void release();
|
||
|
|
||
|
Iterator<T> singleRefIterator();
|
||
|
}
|