class javax.imageio.spi.DigraphNode implements java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.imageio.spi.DigraphNode
super_class: java.lang.Object
{
protected java.lang.Object data;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
protected java.util.Set outNodes;
descriptor: Ljava/util/Set;
flags: (0x0004) ACC_PROTECTED
protected int inDegree;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private java.util.Set inNodes;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield javax.imageio.spi.DigraphNode.outNodes:Ljava/util/Set;
2: aload 0
iconst_0
putfield javax.imageio.spi.DigraphNode.inDegree:I
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield javax.imageio.spi.DigraphNode.inNodes:Ljava/util/Set;
4: aload 0
aload 1
putfield javax.imageio.spi.DigraphNode.data:Ljava/lang/Object;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/imageio/spi/DigraphNode;
0 6 1 data Ljava/lang/Object;
MethodParameters:
Name Flags
data
public java.lang.Object getData();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.DigraphNode.data:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/DigraphNode;
public java.util.Iterator getOutNodes();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.DigraphNode.outNodes:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/DigraphNode;
public boolean addEdge(javax.imageio.spi.DigraphNode);
descriptor: (Ljavax/imageio/spi/DigraphNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.imageio.spi.DigraphNode.outNodes:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.spi.DigraphNode.outNodes:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 1
getfield javax.imageio.spi.DigraphNode.inNodes:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: aload 1
invokevirtual javax.imageio.spi.DigraphNode.incrementInDegree:()V
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/imageio/spi/DigraphNode;
0 6 1 node Ljavax/imageio/spi/DigraphNode;
MethodParameters:
Name Flags
node
public boolean hasEdge(javax.imageio.spi.DigraphNode);
descriptor: (Ljavax/imageio/spi/DigraphNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.imageio.spi.DigraphNode.outNodes:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/DigraphNode;
0 1 1 node Ljavax/imageio/spi/DigraphNode;
MethodParameters:
Name Flags
node
public boolean removeEdge(javax.imageio.spi.DigraphNode);
descriptor: (Ljavax/imageio/spi/DigraphNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.imageio.spi.DigraphNode.outNodes:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.spi.DigraphNode.outNodes:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
3: aload 1
getfield javax.imageio.spi.DigraphNode.inNodes:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
4: aload 1
invokevirtual javax.imageio.spi.DigraphNode.decrementInDegree:()V
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/imageio/spi/DigraphNode;
0 6 1 node Ljavax/imageio/spi/DigraphNode;
MethodParameters:
Name Flags
node
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.DigraphNode.inNodes:Ljava/util/Set;
invokeinterface java.util.Set.toArray:()[Ljava/lang/Object;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aaload
checkcast javax.imageio.spi.DigraphNode
astore 3
start local 3 4: aload 3
aload 0
invokevirtual javax.imageio.spi.DigraphNode.removeEdge:(Ljavax/imageio/spi/DigraphNode;)Z
pop
end local 3 5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 7: aload 0
getfield javax.imageio.spi.DigraphNode.outNodes:Ljava/util/Set;
invokeinterface java.util.Set.toArray:()[Ljava/lang/Object;
astore 2
start local 2 8: iconst_0
istore 3
start local 3 9: goto 13
10: StackMap locals: javax.imageio.spi.DigraphNode java.lang.Object[] java.lang.Object[] int
StackMap stack:
aload 2
iload 3
aaload
checkcast javax.imageio.spi.DigraphNode
astore 4
start local 4 11: aload 0
aload 4
invokevirtual javax.imageio.spi.DigraphNode.removeEdge:(Ljavax/imageio/spi/DigraphNode;)Z
pop
end local 4 12: iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
aload 2
arraylength
if_icmplt 10
end local 3 14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/imageio/spi/DigraphNode;
1 15 1 inNodesArray [Ljava/lang/Object;
2 7 2 i I
4 5 3 node Ljavax/imageio/spi/DigraphNode;
8 15 2 outNodesArray [Ljava/lang/Object;
9 14 3 i I
11 12 4 node Ljavax/imageio/spi/DigraphNode;
public int getInDegree();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.DigraphNode.inDegree:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/DigraphNode;
private void incrementInDegree();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield javax.imageio.spi.DigraphNode.inDegree:I
iconst_1
iadd
putfield javax.imageio.spi.DigraphNode.inDegree:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/imageio/spi/DigraphNode;
private void decrementInDegree();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield javax.imageio.spi.DigraphNode.inDegree:I
iconst_1
isub
putfield javax.imageio.spi.DigraphNode.inDegree:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/imageio/spi/DigraphNode;
}
SourceFile: "DigraphNode.java"