public final class org.eclipse.collections.impl.iterator.SingletonBooleanIterator implements org.eclipse.collections.api.iterator.BooleanIterator
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.iterator.SingletonBooleanIterator
super_class: java.lang.Object
{
private final boolean value;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean next;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
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
iconst_1
putfield org.eclipse.collections.impl.iterator.SingletonBooleanIterator.next:Z
2: aload 0
iload 1
putfield org.eclipse.collections.impl.iterator.SingletonBooleanIterator.value:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/iterator/SingletonBooleanIterator;
0 4 1 value Z
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.SingletonBooleanIterator.next:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/iterator/SingletonBooleanIterator;
public boolean next();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.iterator.SingletonBooleanIterator.next:Z
ifeq 3
1: aload 0
iconst_0
putfield org.eclipse.collections.impl.iterator.SingletonBooleanIterator.next:Z
2: aload 0
getfield org.eclipse.collections.impl.iterator.SingletonBooleanIterator.value:Z
ireturn
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.SingletonBooleanIterator.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/SingletonBooleanIterator;
}
SourceFile: "SingletonBooleanIterator.java"