public abstract class sun.jvm.hotspot.ui.table.SortableTableModel extends javax.swing.table.AbstractTableModel
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.jvm.hotspot.ui.table.SortableTableModel
super_class: javax.swing.table.AbstractTableModel
{
private sun.jvm.hotspot.ui.table.TableModelComparator comparator;
descriptor: Lsun/jvm/hotspot/ui/table/TableModelComparator;
flags: (0x0002) ACC_PRIVATE
protected java.util.List elements;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.table.AbstractTableModel.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/ui/table/SortableTableModel;
public void setComparator(sun.jvm.hotspot.ui.table.TableModelComparator);
descriptor: (Lsun/jvm/hotspot/ui/table/TableModelComparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.jvm.hotspot.ui.table.SortableTableModel.comparator:Lsun/jvm/hotspot/ui/table/TableModelComparator;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/ui/table/SortableTableModel;
0 2 1 comparator Lsun/jvm/hotspot/ui/table/TableModelComparator;
MethodParameters:
Name Flags
comparator
public void sortByColumn(int, boolean);
descriptor: (IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.jvm.hotspot.ui.table.SortableTableModel.comparator:Lsun/jvm/hotspot/ui/table/TableModelComparator;
iload 1
invokevirtual sun.jvm.hotspot.ui.table.TableModelComparator.addColumn:(I)V
1: aload 0
getfield sun.jvm.hotspot.ui.table.SortableTableModel.comparator:Lsun/jvm/hotspot/ui/table/TableModelComparator;
iload 2
invokevirtual sun.jvm.hotspot.ui.table.TableModelComparator.setAscending:(Z)V
2: aload 0
getfield sun.jvm.hotspot.ui.table.SortableTableModel.elements:Ljava/util/List;
aload 0
getfield sun.jvm.hotspot.ui.table.SortableTableModel.comparator:Lsun/jvm/hotspot/ui/table/TableModelComparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
3: aload 0
new javax.swing.event.TableModelEvent
dup
aload 0
invokespecial javax.swing.event.TableModelEvent.<init>:(Ljavax/swing/table/TableModel;)V
invokevirtual sun.jvm.hotspot.ui.table.SortableTableModel.fireTableChanged:(Ljavax/swing/event/TableModelEvent;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/ui/table/SortableTableModel;
0 5 1 column I
0 5 2 ascending Z
MethodParameters:
Name Flags
column
ascending
public boolean isAscending();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.ui.table.SortableTableModel.comparator:Lsun/jvm/hotspot/ui/table/TableModelComparator;
invokevirtual sun.jvm.hotspot.ui.table.TableModelComparator.isAscending:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/ui/table/SortableTableModel;
public int getColumn();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.ui.table.SortableTableModel.comparator:Lsun/jvm/hotspot/ui/table/TableModelComparator;
invokevirtual sun.jvm.hotspot.ui.table.TableModelComparator.getColumn:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/ui/table/SortableTableModel;
}
SourceFile: "SortableTableModel.java"