23 lines
513 B
Java
23 lines
513 B
Java
|
package o;
|
||
|
|
||
|
import java.util.Iterator;
|
||
|
import java.util.NoSuchElementException;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public abstract class GGK<T> implements Iterator<T> {
|
||
|
public abstract T a();
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public void remove() {
|
||
|
throw new UnsupportedOperationException("remove not supported");
|
||
|
}
|
||
|
|
||
|
@Override // java.util.Iterator
|
||
|
public final T next() {
|
||
|
if (!hasNext()) {
|
||
|
throw new NoSuchElementException();
|
||
|
}
|
||
|
return a();
|
||
|
}
|
||
|
}
|