class org.eclipse.collections.impl.stack.immutable.ImmutableStackIterator<T> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.collections.impl.stack.immutable.ImmutableStackIterator
super_class: java.lang.Object
{
private org.eclipse.collections.api.stack.ImmutableStack<T> immutableStack;
descriptor: Lorg/eclipse/collections/api/stack/ImmutableStack;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/eclipse/collections/api/stack/ImmutableStack<TT;>;
void <init>(org.eclipse.collections.api.stack.ImmutableStack<T>);
descriptor: (Lorg/eclipse/collections/api/stack/ImmutableStack;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.collections.impl.stack.immutable.ImmutableStackIterator.immutableStack:Lorg/eclipse/collections/api/stack/ImmutableStack;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/stack/immutable/ImmutableStackIterator<TT;>;
0 3 1 immutableStack Lorg/eclipse/collections/api/stack/ImmutableStack<TT;>;
Signature: (Lorg/eclipse/collections/api/stack/ImmutableStack<TT;>;)V
MethodParameters:
Name Flags
immutableStack
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.stack.immutable.ImmutableStackIterator.immutableStack:Lorg/eclipse/collections/api/stack/ImmutableStack;
invokeinterface org.eclipse.collections.api.stack.ImmutableStack.notEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/stack/immutable/ImmutableStackIterator<TT;>;
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.collections.impl.stack.immutable.ImmutableStackIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.stack.immutable.ImmutableStackIterator.immutableStack:Lorg/eclipse/collections/api/stack/ImmutableStack;
invokeinterface org.eclipse.collections.api.stack.ImmutableStack.peek:()Ljava/lang/Object;
astore 1
start local 1 3: aload 0
aload 0
getfield org.eclipse.collections.impl.stack.immutable.ImmutableStackIterator.immutableStack:Lorg/eclipse/collections/api/stack/ImmutableStack;
invokeinterface org.eclipse.collections.api.stack.ImmutableStack.pop:()Lorg/eclipse/collections/api/stack/ImmutableStack;
putfield org.eclipse.collections.impl.stack.immutable.ImmutableStackIterator.immutableStack:Lorg/eclipse/collections/api/stack/ImmutableStack;
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/stack/immutable/ImmutableStackIterator<TT;>;
3 5 1 result TT;
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "ImmutableStackIterator.java"