public interface java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: java.util.Iterator
super_class: java.lang.Object
{
public abstract boolean hasNext();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "remove"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Iterator<TE;>;
public void forEachRemaining(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: goto 3
2: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Iterator<TE;>;
0 5 1 action Ljava/util/function/Consumer<-TE;>;
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Iterator.java"