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