public final class org.eclipse.collections.impl.iterator.SingletonDoubleIterator implements org.eclipse.collections.api.iterator.DoubleIterator
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.iterator.SingletonDoubleIterator
super_class: java.lang.Object
{
private final double value;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean next;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.eclipse.collections.impl.iterator.SingletonDoubleIterator.next:Z
2: aload 0
dload 1
putfield org.eclipse.collections.impl.iterator.SingletonDoubleIterator.value:D
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/iterator/SingletonDoubleIterator;
0 4 1 value D
MethodParameters:
Name Flags
value
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.iterator.SingletonDoubleIterator.next:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/iterator/SingletonDoubleIterator;
public double next();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.iterator.SingletonDoubleIterator.next:Z
ifeq 3
1: aload 0
iconst_0
putfield org.eclipse.collections.impl.iterator.SingletonDoubleIterator.next:Z
2: aload 0
getfield org.eclipse.collections.impl.iterator.SingletonDoubleIterator.value:D
dreturn
3: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
new java.lang.StringBuilder
dup
ldc "i="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.eclipse.collections.impl.iterator.SingletonDoubleIterator.next:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/iterator/SingletonDoubleIterator;
}
SourceFile: "SingletonDoubleIterator.java"