class javax.imageio.spi.PartialOrderIterator implements java.util.Iterator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.imageio.spi.PartialOrderIterator
super_class: java.lang.Object
{
java.util.LinkedList zeroList;
descriptor: Ljava/util/LinkedList;
flags: (0x0000)
java.util.Map inDegrees;
descriptor: Ljava/util/Map;
flags: (0x0000)
public void <init>(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield javax.imageio.spi.PartialOrderIterator.zeroList:Ljava/util/LinkedList;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javax.imageio.spi.PartialOrderIterator.inDegrees:Ljava/util/Map;
3: goto 9
4: StackMap locals: javax.imageio.spi.PartialOrderIterator java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.DigraphNode
astore 2
start local 2 5: aload 2
invokevirtual javax.imageio.spi.DigraphNode.getInDegree:()I
istore 3
start local 3 6: aload 0
getfield javax.imageio.spi.PartialOrderIterator.inDegrees:Ljava/util/Map;
aload 2
new java.lang.Integer
dup
iload 3
invokespecial java.lang.Integer.<init>:(I)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: iload 3
ifne 9
8: aload 0
getfield javax.imageio.spi.PartialOrderIterator.zeroList:Ljava/util/LinkedList;
aload 2
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
end local 3 end local 2 9: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/imageio/spi/PartialOrderIterator;
0 11 1 iter Ljava/util/Iterator;
5 9 2 node Ljavax/imageio/spi/DigraphNode;
6 9 3 inDegree I
MethodParameters:
Name Flags
iter
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.PartialOrderIterator.zeroList:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/imageio/spi/PartialOrderIterator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.PartialOrderIterator.zeroList:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
checkcast javax.imageio.spi.DigraphNode
astore 1
start local 1 1: aload 1
invokevirtual javax.imageio.spi.DigraphNode.getOutNodes:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 8
3: StackMap locals: javax.imageio.spi.DigraphNode java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.DigraphNode
astore 3
start local 3 4: aload 0
getfield javax.imageio.spi.PartialOrderIterator.inDegrees:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iconst_1
isub
istore 4
start local 4 5: aload 0
getfield javax.imageio.spi.PartialOrderIterator.inDegrees:Ljava/util/Map;
aload 3
new java.lang.Integer
dup
iload 4
invokespecial java.lang.Integer.<init>:(I)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: iload 4
ifne 8
7: aload 0
getfield javax.imageio.spi.PartialOrderIterator.zeroList:Ljava/util/LinkedList;
aload 3
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 1
invokevirtual javax.imageio.spi.DigraphNode.getData:()Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/imageio/spi/PartialOrderIterator;
1 10 1 first Ljavax/imageio/spi/DigraphNode;
2 10 2 outNodes Ljava/util/Iterator;
4 8 3 node Ljavax/imageio/spi/DigraphNode;
5 8 4 inDegree I
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 Ljavax/imageio/spi/PartialOrderIterator;
}
SourceFile: "PartiallyOrderedSet.java"