public class sun.tools.jconsole.inspector.TableSorter extends javax.swing.table.DefaultTableModel implements java.awt.event.MouseListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.inspector.TableSorter
super_class: javax.swing.table.DefaultTableModel
{
private boolean ascending;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.swing.table.TableColumnModel columnModel;
descriptor: Ljavax/swing/table/TableColumnModel;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JTable tableView;
descriptor: Ljavax/swing/JTable;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector<javax.swing.event.TableModelListener> listenerList;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Ljavax/swing/event/TableModelListener;>;
private int sortColumn;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] invertedIndex;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.table.DefaultTableModel.<init>:()V
1: aload 0
iconst_1
putfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
2: aload 0
iconst_0
putfield sun.tools.jconsole.inspector.TableSorter.sortColumn:I
3: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.tools.jconsole.inspector.TableSorter.listenerList:Ljava/util/Vector;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
public void <init>(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial javax.swing.table.DefaultTableModel.<init>:([Ljava/lang/Object;I)V
1: aload 0
iconst_1
putfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
2: aload 0
iconst_0
putfield sun.tools.jconsole.inspector.TableSorter.sortColumn:I
3: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.tools.jconsole.inspector.TableSorter.listenerList:Ljava/util/Vector;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 5 1 columnNames [Ljava/lang/Object;
0 5 2 numRows I
MethodParameters:
Name Flags
columnNames
numRows
public void newDataAvailable(javax.swing.event.TableModelEvent);
descriptor: (Ljavax/swing/event/TableModelEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.newDataAvailable:(Ljavax/swing/event/TableModelEvent;)V
1: aload 0
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRowCount:()I
newarray 10
putfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 2
iload 2
iastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
arraylength
if_icmplt 4
end local 2 7: aload 0
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.sortColumn:I
invokevirtual sun.tools.jconsole.inspector.TableSorter.sort:(I)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 9 1 e Ljavax/swing/event/TableModelEvent;
3 7 2 i I
MethodParameters:
Name Flags
e
public void addTableModelListener(javax.swing.event.TableModelListener);
descriptor: (Ljavax/swing/event/TableModelListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.listenerList:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
1: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.addTableModelListener:(Ljavax/swing/event/TableModelListener;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 3 1 l Ljavax/swing/event/TableModelListener;
MethodParameters:
Name Flags
l
public void removeTableModelListener(javax.swing.event.TableModelListener);
descriptor: (Ljavax/swing/event/TableModelListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.listenerList:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.remove:(Ljava/lang/Object;)Z
pop
1: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.removeTableModelListener:(Ljavax/swing/event/TableModelListener;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 3 1 l Ljavax/swing/event/TableModelListener;
MethodParameters:
Name Flags
l
private void removeListeners();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.listenerList:Ljava/util/Vector;
invokevirtual java.util.Vector.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: sun.tools.jconsole.inspector.TableSorter top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.swing.event.TableModelListener
astore 1
start local 1 2: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.removeTableModelListener:(Ljavax/swing/event/TableModelListener;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
2 3 1 tnl Ljavax/swing/event/TableModelListener;
private void restoreListeners();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.listenerList:Ljava/util/Vector;
invokevirtual java.util.Vector.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: sun.tools.jconsole.inspector.TableSorter top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.swing.event.TableModelListener
astore 1
start local 1 2: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.addTableModelListener:(Ljavax/swing/event/TableModelListener;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
2 3 1 tnl Ljavax/swing/event/TableModelListener;
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 1
instanceof java.lang.Comparable
ifeq 7
6: aload 1
checkcast java.lang.Comparable
aload 2
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ireturn
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 8 1 o1 Ljava/lang/Object;
0 8 2 o2 Ljava/lang/Object;
MethodParameters:
Name Flags
o1
o2
public void sort(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.removeListeners:()V
1: aload 0
iconst_0
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRowCount:()I
iconst_1
isub
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.quickSort:(III)V
2: aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.restoreListeners:()V
3: aload 0
iload 1
putfield sun.tools.jconsole.inspector.TableSorter.sortColumn:I
4: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
instanceof sun.tools.jconsole.inspector.XMBeanAttributes
ifeq 12
5: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
checkcast sun.tools.jconsole.inspector.XMBeanAttributes
astore 2
start local 2 6: iconst_0
istore 3
start local 3 7: goto 11
8: StackMap locals: sun.tools.jconsole.inspector.XMBeanAttributes int
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.dataVector:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.util.Vector
astore 4
start local 4 9: aload 2
aload 4
iconst_1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
iload 3
invokevirtual sun.tools.jconsole.inspector.XMBeanAttributes.updateRowHeight:(Ljava/lang/Object;I)V
end local 4 10: iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRowCount:()I
if_icmplt 8
end local 3 end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 13 1 column I
6 12 2 attrs Lsun/tools/jconsole/inspector/XMBeanAttributes;
7 12 3 i I
9 10 4 data Ljava/util/Vector;
MethodParameters:
Name Flags
column
private synchronized boolean compareS(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
ifeq 3
1: aload 0
aload 1
aload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifle 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 5 1 s1 Ljava/lang/Object;
0 5 2 s2 Ljava/lang/Object;
MethodParameters:
Name Flags
s1
s2
private synchronized boolean compareG(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
ifeq 3
1: aload 0
aload 1
aload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifle 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 5 1 s1 Ljava/lang/Object;
0 5 2 s2 Ljava/lang/Object;
MethodParameters:
Name Flags
s1
s2
private synchronized void quickSort(int, int, int);
descriptor: (III)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
istore 4
start local 4 1: iload 2
istore 5
start local 5 2: iload 2
iload 1
if_icmple 21
3: aload 0
iload 1
iload 2
iadd
iconst_2
idiv
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.getValueAt:(II)Ljava/lang/Object;
astore 6
start local 6 4: goto 16
5: StackMap locals: int int java.lang.Object
StackMap stack:
iinc 4 1
6: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmpge 10
7: aload 0
aload 6
aload 0
iload 4
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.getValueAt:(II)Ljava/lang/Object;
invokevirtual sun.tools.jconsole.inspector.TableSorter.compareS:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 5
8: goto 10
9: StackMap locals:
StackMap stack:
iinc 5 -1
10: StackMap locals:
StackMap stack:
iload 5
iload 1
if_icmple 12
11: aload 0
aload 6
aload 0
iload 5
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.getValueAt:(II)Ljava/lang/Object;
invokevirtual sun.tools.jconsole.inspector.TableSorter.compareG:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 9
12: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmpgt 16
13: aload 0
iload 4
iload 5
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.swap:(III)V
14: iinc 4 1
15: iinc 5 -1
16: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmple 6
17: iload 1
iload 5
if_icmpge 19
18: aload 0
iload 1
iload 5
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.quickSort:(III)V
19: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmpgt 21
20: aload 0
iload 4
iload 2
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.quickSort:(III)V
end local 6 21: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 22 1 lo0 I
0 22 2 hi0 I
0 22 3 key I
1 22 4 lo I
2 22 5 hi I
4 21 6 mid Ljava/lang/Object;
MethodParameters:
Name Flags
lo0
hi0
key
public void n2sort(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 9
2: StackMap locals: int
StackMap stack:
iload 2
iconst_1
iadd
istore 3
start local 3 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 0
aload 0
iload 2
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.getValueAt:(II)Ljava/lang/Object;
aload 0
iload 3
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.getValueAt:(II)Ljava/lang/Object;
invokevirtual sun.tools.jconsole.inspector.TableSorter.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
iconst_m1
if_icmpne 6
5: aload 0
iload 2
iload 3
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.swap:(III)V
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRowCount:()I
if_icmplt 4
end local 3 8: iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRowCount:()I
if_icmplt 2
end local 2 10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 11 1 column I
1 10 2 i I
3 8 3 j I
MethodParameters:
Name Flags
column
private java.util.Vector getRow(int);
descriptor: (I)Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.dataVector:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.util.Vector
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 row I
MethodParameters:
Name Flags
row
private void setRow(java.util.Vector, int);
descriptor: (Ljava/util/Vector;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.dataVector:Ljava/util/Vector;
aload 1
iload 2
invokevirtual java.util.Vector.setElementAt:(Ljava/lang/Object;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 2 1 data Ljava/util/Vector;
0 2 2 row I
MethodParameters:
Name Flags
data
row
public void swap(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRow:(I)Ljava/util/Vector;
astore 4
start local 4 1: aload 0
aload 0
iload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRow:(I)Ljava/util/Vector;
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.setRow:(Ljava/util/Vector;I)V
2: aload 0
aload 4
iload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.setRow:(Ljava/util/Vector;I)V
3: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 1
iaload
istore 5
start local 5 4: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 1
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 2
iaload
iastore
5: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 2
iload 5
iastore
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 7 1 i I
0 7 2 j I
0 7 3 column I
1 7 4 data Ljava/util/Vector;
4 7 5 a I
MethodParameters:
Name Flags
i
j
column
public void sortByColumn(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
iload 1
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
ifeq 1
iconst_0
goto 2
StackMap locals: sun.tools.jconsole.inspector.TableSorter int
StackMap stack: sun.tools.jconsole.inspector.TableSorter int
1: iconst_1
StackMap locals: sun.tools.jconsole.inspector.TableSorter int
StackMap stack: sun.tools.jconsole.inspector.TableSorter int int
2: invokevirtual sun.tools.jconsole.inspector.TableSorter.sortByColumn:(IZ)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 4 1 column I
MethodParameters:
Name Flags
column
public void sortByColumn(int, boolean);
descriptor: (IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
putfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
1: aload 0
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.sort:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 3 1 column I
0 3 2 ascending Z
MethodParameters:
Name Flags
column
ascending
public int[] getInvertedIndex();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
public void (javax.swing.JTable);
descriptor: (Ljavax/swing/JTable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
1: aload 0
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getColumnModel:()Ljavax/swing/table/TableColumnModel;
putfield sun.tools.jconsole.inspector.TableSorter.columnModel:Ljavax/swing/table/TableColumnModel;
2: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getTableHeader:()Ljavax/swing/table/JTableHeader;
astore 2
start local 2 3: aload 2
aload 0
invokevirtual javax.swing.table.JTableHeader.addMouseListener:(Ljava/awt/event/MouseListener;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 5 1 table Ljavax/swing/JTable;
3 5 2 th Ljavax/swing/table/JTableHeader;
MethodParameters:
Name Flags
table
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.columnModel:Ljavax/swing/table/TableColumnModel;
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
invokeinterface javax.swing.table.TableColumnModel.getColumnIndexAtX:(I)I
istore 2
start local 2 1: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
iload 2
invokevirtual javax.swing.JTable.convertColumnIndexToModel:(I)I
istore 3
start local 3 2: aload 1
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
iconst_1
if_icmpne 7
iload 3
iconst_m1
if_icmpeq 7
3: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.invalidate:()V
4: aload 0
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.sortByColumn:(I)V
5: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.validate:()V
6: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.repaint:()V
7: StackMap locals: int int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 8 1 e Ljava/awt/event/MouseEvent;
1 8 2 viewColumn I
2 8 3 column I
MethodParameters:
Name Flags
e
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseEntered(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseExited(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "TableSorter.java"