public class org.apache.batik.ext.awt.image.rendered.LRUCache
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.ext.awt.image.rendered.LRUCache
super_class: java.lang.Object
{
private org.apache.batik.util.DoublyLinkedList free;
descriptor: Lorg/apache/batik/util/DoublyLinkedList;
flags: (0x0002) ACC_PRIVATE
private org.apache.batik.util.DoublyLinkedList used;
descriptor: Lorg/apache/batik/util/DoublyLinkedList;
flags: (0x0002) ACC_PRIVATE
private int maxSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(int);
descriptor: (I)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
aconst_null
putfield org.apache.batik.ext.awt.image.rendered.LRUCache.free:Lorg/apache/batik/util/DoublyLinkedList;
2: aload 0
aconst_null
putfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
3: aload 0
iconst_0
putfield org.apache.batik.ext.awt.image.rendered.LRUCache.maxSize:I
4: iload 1
ifgt 5
iconst_1
istore 1
5: StackMap locals: org.apache.batik.ext.awt.image.rendered.LRUCache int
StackMap stack:
aload 0
iload 1
putfield org.apache.batik.ext.awt.image.rendered.LRUCache.maxSize:I
6: aload 0
new org.apache.batik.util.DoublyLinkedList
dup
invokespecial org.apache.batik.util.DoublyLinkedList.<init>:()V
putfield org.apache.batik.ext.awt.image.rendered.LRUCache.free:Lorg/apache/batik/util/DoublyLinkedList;
7: aload 0
new org.apache.batik.util.DoublyLinkedList
dup
invokespecial org.apache.batik.util.DoublyLinkedList.<init>:()V
putfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.free:Lorg/apache/batik/util/DoublyLinkedList;
new org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
dup
invokespecial org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode.<init>:()V
invokevirtual org.apache.batik.util.DoublyLinkedList.add:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
10: iinc 1 -1
11: StackMap locals:
StackMap stack:
iload 1
ifgt 9
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/batik/ext/awt/image/rendered/LRUCache;
0 13 1 size I
MethodParameters:
Name Flags
size
public int getUsed();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/ext/awt/image/rendered/LRUCache;
public synchronized void setSize(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.maxSize:I
iload 1
if_icmpge 7
1: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.maxSize:I
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.free:Lorg/apache/batik/util/DoublyLinkedList;
new org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
dup
invokespecial org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode.<init>:()V
invokevirtual org.apache.batik.util.DoublyLinkedList.add:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 1
if_icmplt 3
end local 2 6: goto 15
StackMap locals:
StackMap stack:
7: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.maxSize:I
iload 1
if_icmple 15
8: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getSize:()I
istore 2
start local 2 9: goto 14
10: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getTail:()Lorg/apache/batik/util/DoublyLinkedList$Node;
checkcast org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
astore 3
start local 3 11: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
aload 3
invokevirtual org.apache.batik.util.DoublyLinkedList.remove:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
12: aload 3
aconst_null
invokevirtual org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode.setObj:(Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;)V
end local 3 13: iinc 2 -1
StackMap locals:
StackMap stack:
14: iload 2
iload 1
if_icmpgt 10
end local 2 15: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.batik.ext.awt.image.rendered.LRUCache.maxSize:I
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/batik/ext/awt/image/rendered/LRUCache;
0 17 1 newSz I
2 6 2 i I
9 15 2 i I
11 13 3 nde Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUNode;
MethodParameters:
Name Flags
newSz
public synchronized void flush();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.pop:()Lorg/apache/batik/util/DoublyLinkedList$Node;
checkcast org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
astore 1
start local 1 2: aload 1
aconst_null
invokevirtual org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode.setObj:(Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;)V
3: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.free:Lorg/apache/batik/util/DoublyLinkedList;
aload 1
invokevirtual org.apache.batik.util.DoublyLinkedList.add:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getSize:()I
ifgt 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/batik/ext/awt/image/rendered/LRUCache;
2 4 1 nde Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUNode;
public synchronized void remove(org.apache.batik.ext.awt.image.rendered.LRUCache$LRUObj);
descriptor: (Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.batik.ext.awt.image.rendered.LRUCache$LRUObj.lruGet:()Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUNode;
astore 2
start local 2 1: aload 2
ifnonnull 2
return
2: StackMap locals: org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
aload 2
invokevirtual org.apache.batik.util.DoublyLinkedList.remove:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
3: aload 2
aconst_null
invokevirtual org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode.setObj:(Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;)V
4: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.free:Lorg/apache/batik/util/DoublyLinkedList;
aload 2
invokevirtual org.apache.batik.util.DoublyLinkedList.add:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/batik/ext/awt/image/rendered/LRUCache;
0 6 1 obj Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;
1 6 2 nde Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUNode;
MethodParameters:
Name Flags
obj
public synchronized void touch(org.apache.batik.ext.awt.image.rendered.LRUCache$LRUObj);
descriptor: (Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.batik.ext.awt.image.rendered.LRUCache$LRUObj.lruGet:()Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUNode;
astore 2
start local 2 1: aload 2
ifnonnull 2
return
2: StackMap locals: org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
aload 2
invokevirtual org.apache.batik.util.DoublyLinkedList.touch:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/ext/awt/image/rendered/LRUCache;
0 4 1 obj Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;
1 4 2 nde Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUNode;
MethodParameters:
Name Flags
obj
public synchronized void add(org.apache.batik.ext.awt.image.rendered.LRUCache$LRUObj);
descriptor: (Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.batik.ext.awt.image.rendered.LRUCache$LRUObj.lruGet:()Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUNode;
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
aload 2
invokevirtual org.apache.batik.util.DoublyLinkedList.touch:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
3: return
4: StackMap locals: org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.free:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getSize:()I
ifle 9
5: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.free:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.pop:()Lorg/apache/batik/util/DoublyLinkedList$Node;
checkcast org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
astore 2
6: aload 2
aload 1
invokevirtual org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode.setObj:(Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;)V
7: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
aload 2
invokevirtual org.apache.batik.util.DoublyLinkedList.add:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
8: goto 12
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getTail:()Lorg/apache/batik/util/DoublyLinkedList$Node;
checkcast org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
astore 2
10: aload 2
aload 1
invokevirtual org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode.setObj:(Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;)V
11: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
aload 2
invokevirtual org.apache.batik.util.DoublyLinkedList.touch:(Lorg/apache/batik/util/DoublyLinkedList$Node;)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/batik/ext/awt/image/rendered/LRUCache;
0 13 1 obj Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;
1 13 2 nde Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUNode;
MethodParameters:
Name Flags
obj
protected synchronized void print();
descriptor: ()V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "In Use: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getSize:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc " Free: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.free:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getSize:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getHead:()Lorg/apache/batik/util/DoublyLinkedList$Node;
checkcast org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
astore 1
start local 1 4: aload 1
ifnonnull 5
return
5: StackMap locals: org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
invokevirtual org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode.getObj:()Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUObj;
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
6: aload 1
invokevirtual org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode.getNext:()Lorg/apache/batik/util/DoublyLinkedList$Node;
checkcast org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode
astore 1
7: aload 1
aload 0
getfield org.apache.batik.ext.awt.image.rendered.LRUCache.used:Lorg/apache/batik/util/DoublyLinkedList;
invokevirtual org.apache.batik.util.DoublyLinkedList.getHead:()Lorg/apache/batik/util/DoublyLinkedList$Node;
if_acmpne 5
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/batik/ext/awt/image/rendered/LRUCache;
4 9 1 nde Lorg/apache/batik/ext/awt/image/rendered/LRUCache$LRUNode;
}
SourceFile: "LRUCache.java"
NestMembers:
org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode org.apache.batik.ext.awt.image.rendered.LRUCache$LRUObj
InnerClasses:
public LRUNode = org.apache.batik.ext.awt.image.rendered.LRUCache$LRUNode of org.apache.batik.ext.awt.image.rendered.LRUCache
public abstract LRUObj = org.apache.batik.ext.awt.image.rendered.LRUCache$LRUObj of org.apache.batik.ext.awt.image.rendered.LRUCache
public Node = org.apache.batik.util.DoublyLinkedList$Node of org.apache.batik.util.DoublyLinkedList