public final class com.sun.xml.internal.bind.v2.util.FlattenIterator<T> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.bind.v2.util.FlattenIterator
super_class: java.lang.Object
{
private final java.util.Iterator<? extends java.util.Map<?, ? extends T>> parent;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<+Ljava/util/Map<*+TT;>;>;
private java.util.Iterator<? extends T> child;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<+TT;>;
private T next;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
public void <init>(java.lang.Iterable<? extends java.util.Map<?, ? extends T>>);
descriptor: (Ljava/lang/Iterable;)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
aconst_null
putfield com.sun.xml.internal.bind.v2.util.FlattenIterator.child:Ljava/util/Iterator;
2: aload 0
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
putfield com.sun.xml.internal.bind.v2.util.FlattenIterator.parent:Ljava/util/Iterator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/bind/v2/util/FlattenIterator<TT;>;
0 4 1 core Ljava/lang/Iterable<+Ljava/util/Map<*+TT;>;>;
Signature: (Ljava/lang/Iterable<+Ljava/util/Map<*+TT;>;>;)V
MethodParameters:
Name Flags
core
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/bind/v2/util/FlattenIterator<TT;>;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.xml.internal.bind.v2.util.FlattenIterator.getNext:()V
1: aload 0
getfield com.sun.xml.internal.bind.v2.util.FlattenIterator.next:Ljava/lang/Object;
ifnull 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/bind/v2/util/FlattenIterator<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
getfield com.sun.xml.internal.bind.v2.util.FlattenIterator.next:Ljava/lang/Object;
astore 1
start local 1 1: aload 0
aconst_null
putfield com.sun.xml.internal.bind.v2.util.FlattenIterator.next:Ljava/lang/Object;
2: aload 1
ifnonnull 4
3: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
4: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/bind/v2/util/FlattenIterator<TT;>;
1 5 1 r TT;
Signature: ()TT;
private void getNext();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.bind.v2.util.FlattenIterator.next:Ljava/lang/Object;
ifnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.bind.v2.util.FlattenIterator.child:Ljava/util/Iterator;
ifnull 4
aload 0
getfield com.sun.xml.internal.bind.v2.util.FlattenIterator.child:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 4
2: aload 0
aload 0
getfield com.sun.xml.internal.bind.v2.util.FlattenIterator.child:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
putfield com.sun.xml.internal.bind.v2.util.FlattenIterator.next:Ljava/lang/Object;
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.bind.v2.util.FlattenIterator.parent:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 7
5: aload 0
aload 0
getfield com.sun.xml.internal.bind.v2.util.FlattenIterator.parent:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
putfield com.sun.xml.internal.bind.v2.util.FlattenIterator.child:Ljava/util/Iterator;
6: aload 0
invokevirtual com.sun.xml.internal.bind.v2.util.FlattenIterator.getNext:()V
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/bind/v2/util/FlattenIterator<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "FlattenIterator.java"