public abstract class javax.swing.DefaultRowSorter<M, I> extends javax.swing.RowSorter<M>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.DefaultRowSorter
super_class: javax.swing.RowSorter
{
private boolean sortsOnUpdates;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.swing.DefaultRowSorter$Row[] viewToModel;
descriptor: [Ljavax/swing/DefaultRowSorter$Row;
flags: (0x0002) ACC_PRIVATE
private int[] modelToView;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private java.util.Comparator<?>[] comparators;
descriptor: [Ljava/util/Comparator;
flags: (0x0002) ACC_PRIVATE
Signature: [Ljava/util/Comparator<*>;
private boolean[] isSortable;
descriptor: [Z
flags: (0x0002) ACC_PRIVATE
private javax.swing.RowSorter$SortKey[] cachedSortKeys;
descriptor: [Ljavax/swing/RowSorter$SortKey;
flags: (0x0002) ACC_PRIVATE
private java.util.Comparator<?>[] sortComparators;
descriptor: [Ljava/util/Comparator;
flags: (0x0002) ACC_PRIVATE
Signature: [Ljava/util/Comparator<*>;
private javax.swing.RowFilter<? super M, ? super I> filter;
descriptor: Ljavax/swing/RowFilter;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavax/swing/RowFilter<-TM;-TI;>;
private javax.swing.DefaultRowSorter<M, I>.FilterEntry filterEntry;
descriptor: Ljavax/swing/DefaultRowSorter$FilterEntry;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavax/swing/DefaultRowSorter<TM;TI;>.FilterEntry;
private java.util.List<javax.swing.RowSorter$SortKey> sortKeys;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljavax/swing/RowSorter$SortKey;>;
private boolean[] useToString;
descriptor: [Z
flags: (0x0002) ACC_PRIVATE
private boolean sorted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int maxSortKeys;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.swing.DefaultRowSorter$ModelWrapper<M, I> modelWrapper;
descriptor: Ljavax/swing/DefaultRowSorter$ModelWrapper;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavax/swing/DefaultRowSorter$ModelWrapper<TM;TI;>;
private int modelRowCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static boolean warning8160087;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
putstatic javax.swing.DefaultRowSorter.warning8160087:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.RowSorter.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield javax.swing.DefaultRowSorter.sortKeys:Ljava/util/List;
2: aload 0
iconst_3
putfield javax.swing.DefaultRowSorter.maxSortKeys:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
protected final void setModelWrapper(javax.swing.DefaultRowSorter$ModelWrapper<M, I>);
descriptor: (Ljavax/swing/DefaultRowSorter$ModelWrapper;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "modelWrapper most be non-null"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelWrapper:Ljavax/swing/DefaultRowSorter$ModelWrapper;
astore 2
start local 2 5: aload 0
aload 1
putfield javax.swing.DefaultRowSorter.modelWrapper:Ljavax/swing/DefaultRowSorter$ModelWrapper;
6: aload 2
ifnull 9
7: aload 0
invokevirtual javax.swing.DefaultRowSorter.modelStructureChanged:()V
8: goto 10
9: StackMap locals: javax.swing.DefaultRowSorter$ModelWrapper
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
putfield javax.swing.DefaultRowSorter.modelRowCount:I
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 11 1 modelWrapper Ljavax/swing/DefaultRowSorter$ModelWrapper<TM;TI;>;
5 11 2 last Ljavax/swing/DefaultRowSorter$ModelWrapper<TM;TI;>;
Signature: (Ljavax/swing/DefaultRowSorter$ModelWrapper<TM;TI;>;)V
MethodParameters:
Name Flags
modelWrapper
protected final javax.swing.DefaultRowSorter$ModelWrapper<M, I> getModelWrapper();
descriptor: ()Ljavax/swing/DefaultRowSorter$ModelWrapper;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultRowSorter.modelWrapper:Ljavax/swing/DefaultRowSorter$ModelWrapper;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
Signature: ()Ljavax/swing/DefaultRowSorter$ModelWrapper<TM;TI;>;
public final M getModel();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getModel:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
Signature: ()TM;
public void setSortable(int, boolean);
descriptor: (IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.checkColumn:(I)V
1: aload 0
getfield javax.swing.DefaultRowSorter.isSortable:[Z
ifnonnull 8
2: aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getColumnCount:()I
newarray 4
putfield javax.swing.DefaultRowSorter.isSortable:[Z
3: aload 0
getfield javax.swing.DefaultRowSorter.isSortable:[Z
arraylength
iconst_1
isub
istore 3
start local 3 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.isSortable:[Z
iload 3
iconst_1
bastore
6: iinc 3 -1
StackMap locals:
StackMap stack:
7: iload 3
ifge 5
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.isSortable:[Z
iload 1
iload 2
bastore
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 10 1 column I
0 10 2 sortable Z
4 8 3 i I
MethodParameters:
Name Flags
column
sortable
public boolean isSortable(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.checkColumn:(I)V
1: aload 0
getfield javax.swing.DefaultRowSorter.isSortable:[Z
ifnonnull 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield javax.swing.DefaultRowSorter.isSortable:[Z
iload 1
baload
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 4 1 column I
MethodParameters:
Name Flags
column
public void setSortKeys(java.util.List<? extends javax.swing.RowSorter$SortKey>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultRowSorter.sortKeys:Ljava/util/List;
astore 2
start local 2 1: aload 1
ifnull 13
aload 1
invokeinterface java.util.List.size:()I
ifle 13
2: aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getColumnCount:()I
istore 3
start local 3 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: javax.swing.DefaultRowSorter java.util.List java.util.List int top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.swing.RowSorter$SortKey
astore 4
start local 4 5: aload 4
ifnull 7
aload 4
invokevirtual javax.swing.RowSorter$SortKey.getColumn:()I
iflt 7
6: aload 4
invokevirtual javax.swing.RowSorter$SortKey.getColumn:()I
iload 3
if_icmplt 8
7: StackMap locals: javax.swing.DefaultRowSorter java.util.List java.util.List int javax.swing.RowSorter$SortKey java.util.Iterator
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid SortKey"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 8: StackMap locals: javax.swing.DefaultRowSorter java.util.List java.util.List int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 0
10: new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
11: invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield javax.swing.DefaultRowSorter.sortKeys:Ljava/util/List;
end local 3 12: goto 14
13: StackMap locals: javax.swing.DefaultRowSorter java.util.List java.util.List
StackMap stack:
aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield javax.swing.DefaultRowSorter.sortKeys:Ljava/util/List;
14: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.sortKeys:Ljava/util/List;
aload 2
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 20
15: aload 0
invokevirtual javax.swing.DefaultRowSorter.fireSortOrderChanged:()V
16: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
ifnonnull 19
17: aload 0
invokevirtual javax.swing.DefaultRowSorter.sort:()V
18: goto 20
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.DefaultRowSorter.sortExistingData:()V
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 21 1 sortKeys Ljava/util/List<+Ljavax/swing/RowSorter$SortKey;>;
1 21 2 old Ljava/util/List<Ljavax/swing/RowSorter$SortKey;>;
3 12 3 max I
5 8 4 key Ljavax/swing/RowSorter$SortKey;
Signature: (Ljava/util/List<+Ljavax/swing/RowSorter$SortKey;>;)V
MethodParameters:
Name Flags
sortKeys
public java.util.List<? extends javax.swing.RowSorter$SortKey> getSortKeys();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultRowSorter.sortKeys:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
Signature: ()Ljava/util/List<+Ljavax/swing/RowSorter$SortKey;>;
public void setMaxSortKeys(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
ldc "Invalid max"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.swing.DefaultRowSorter.maxSortKeys:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 4 1 max I
MethodParameters:
Name Flags
max
public int getMaxSortKeys();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultRowSorter.maxSortKeys:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
public void setSortsOnUpdates(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.DefaultRowSorter.sortsOnUpdates:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 2 1 sortsOnUpdates Z
MethodParameters:
Name Flags
sortsOnUpdates
public boolean getSortsOnUpdates();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultRowSorter.sortsOnUpdates:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
public void setRowFilter(javax.swing.RowFilter<? super M, ? super I>);
descriptor: (Ljavax/swing/RowFilter;)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 javax.swing.DefaultRowSorter.filter:Ljavax/swing/RowFilter;
1: aload 0
invokevirtual javax.swing.DefaultRowSorter.sort:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 3 1 filter Ljavax/swing/RowFilter<-TM;-TI;>;
Signature: (Ljavax/swing/RowFilter<-TM;-TI;>;)V
MethodParameters:
Name Flags
filter
public javax.swing.RowFilter<? super M, ? super I> getRowFilter();
descriptor: ()Ljavax/swing/RowFilter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultRowSorter.filter:Ljavax/swing/RowFilter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
Signature: ()Ljavax/swing/RowFilter<-TM;-TI;>;
public void toggleSortOrder(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.checkColumn:(I)V
1: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.isSortable:(I)Z
ifeq 21
2: new java.util.ArrayList
dup
aload 0
invokevirtual javax.swing.DefaultRowSorter.getSortKeys:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 3: aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 4
start local 4 4: goto 8
5: StackMap locals: javax.swing.DefaultRowSorter int java.util.List top int
StackMap stack:
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.swing.RowSorter$SortKey
invokevirtual javax.swing.RowSorter$SortKey.getColumn:()I
iload 1
if_icmpne 7
6: goto 9
7: StackMap locals:
StackMap stack:
iinc 4 -1
StackMap locals:
StackMap stack:
8: iload 4
ifge 5
9: StackMap locals:
StackMap stack:
iload 4
iconst_m1
if_icmpne 13
10: new javax.swing.RowSorter$SortKey
dup
iload 1
getstatic javax.swing.SortOrder.ASCENDING:Ljavax/swing/SortOrder;
invokespecial javax.swing.RowSorter$SortKey.<init>:(ILjavax/swing/SortOrder;)V
astore 3
start local 3 11: aload 2
iconst_0
aload 3
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
12: goto 18
end local 3 13: StackMap locals:
StackMap stack:
iload 4
ifne 16
14: aload 2
iconst_0
aload 0
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.swing.RowSorter$SortKey
invokevirtual javax.swing.DefaultRowSorter.toggle:(Ljavax/swing/RowSorter$SortKey;)Ljavax/swing/RowSorter$SortKey;
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
15: goto 18
16: StackMap locals:
StackMap stack:
aload 2
iload 4
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
17: aload 2
iconst_0
new javax.swing.RowSorter$SortKey
dup
iload 1
getstatic javax.swing.SortOrder.ASCENDING:Ljavax/swing/SortOrder;
invokespecial javax.swing.RowSorter$SortKey.<init>:(ILjavax/swing/SortOrder;)V
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
18: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.size:()I
aload 0
invokevirtual javax.swing.DefaultRowSorter.getMaxSortKeys:()I
if_icmple 20
19: aload 2
iconst_0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getMaxSortKeys:()I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
astore 2
20: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual javax.swing.DefaultRowSorter.setSortKeys:(Ljava/util/List;)V
end local 4 end local 2 21: StackMap locals: javax.swing.DefaultRowSorter int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 22 1 column I
3 21 2 keys Ljava/util/List<Ljavax/swing/RowSorter$SortKey;>;
11 13 3 sortKey Ljavax/swing/RowSorter$SortKey;
4 21 4 sortIndex I
MethodParameters:
Name Flags
column
private javax.swing.RowSorter$SortKey toggle(javax.swing.RowSorter$SortKey);
descriptor: (Ljavax/swing/RowSorter$SortKey;)Ljavax/swing/RowSorter$SortKey;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.RowSorter$SortKey.getSortOrder:()Ljavax/swing/SortOrder;
getstatic javax.swing.SortOrder.ASCENDING:Ljavax/swing/SortOrder;
if_acmpne 2
1: new javax.swing.RowSorter$SortKey
dup
aload 1
invokevirtual javax.swing.RowSorter$SortKey.getColumn:()I
getstatic javax.swing.SortOrder.DESCENDING:Ljavax/swing/SortOrder;
invokespecial javax.swing.RowSorter$SortKey.<init>:(ILjavax/swing/SortOrder;)V
areturn
2: StackMap locals:
StackMap stack:
new javax.swing.RowSorter$SortKey
dup
aload 1
invokevirtual javax.swing.RowSorter$SortKey.getColumn:()I
getstatic javax.swing.SortOrder.ASCENDING:Ljavax/swing/SortOrder;
invokespecial javax.swing.RowSorter$SortKey.<init>:(ILjavax/swing/SortOrder;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 3 1 key Ljavax/swing/RowSorter$SortKey;
MethodParameters:
Name Flags
key
public int convertRowIndexToView(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
ifnonnull 2
1: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.convertUnsortedUnfiltered:(I)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 1
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 3 1 index I
MethodParameters:
Name Flags
index
public int convertRowIndexToModel(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
ifnonnull 2
1: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.convertUnsortedUnfiltered:(I)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 1
aaload
getfield javax.swing.DefaultRowSorter$Row.modelIndex:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 3 1 index I
MethodParameters:
Name Flags
index
private int convertUnsortedUnfiltered(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield javax.swing.DefaultRowSorter.modelRowCount:I
if_icmplt 8
1: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield javax.swing.DefaultRowSorter.modelRowCount:I
if_icmplt 7
2: iload 1
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
if_icmpge 7
3: getstatic javax.swing.DefaultRowSorter.warning8160087:Z
ifeq 8
4: iconst_0
putstatic javax.swing.DefaultRowSorter.warning8160087:Z
5: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "WARNING: row index is bigger than sorter's row count. Most likely this is a wrong sorter usage."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: goto 8
7: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
ldc "Invalid index"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 9 1 index I
MethodParameters:
Name Flags
index
private boolean isUnsorted();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.DefaultRowSorter.getSortKeys:()Ljava/util/List;
astore 1
start local 1 1: aload 1
invokeinterface java.util.List.size:()I
istore 2
start local 2 2: iload 2
ifeq 5
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.swing.RowSorter$SortKey
invokevirtual javax.swing.RowSorter$SortKey.getSortOrder:()Ljavax/swing/SortOrder;
3: getstatic javax.swing.SortOrder.UNSORTED:Ljavax/swing/SortOrder;
if_acmpeq 5
4: iconst_0
ireturn
StackMap locals: java.util.List int
StackMap stack:
5: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
1 6 1 keys Ljava/util/List<+Ljavax/swing/RowSorter$SortKey;>;
2 6 2 keySize I
private void sortExistingData();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
invokevirtual javax.swing.DefaultRowSorter.getViewToModelAsInts:([Ljavax/swing/DefaultRowSorter$Row;)[I
astore 1
start local 1 1: aload 0
invokevirtual javax.swing.DefaultRowSorter.updateUseToString:()V
2: aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getSortKeys:()Ljava/util/List;
invokevirtual javax.swing.DefaultRowSorter.cacheSortKeys:(Ljava/util/List;)V
3: aload 0
invokevirtual javax.swing.DefaultRowSorter.isUnsorted:()Z
ifeq 17
4: aload 0
invokevirtual javax.swing.DefaultRowSorter.getRowFilter:()Ljavax/swing/RowFilter;
ifnonnull 8
5: aload 0
aconst_null
putfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
6: aload 0
aconst_null
putfield javax.swing.DefaultRowSorter.modelToView:[I
7: goto 19
8: StackMap locals: int[]
StackMap stack:
iconst_0
istore 2
start local 2 9: iconst_0
istore 3
start local 3 10: goto 15
11: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 3
iaload
iconst_m1
if_icmpeq 14
12: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 2
aaload
iload 3
putfield javax.swing.DefaultRowSorter$Row.modelIndex:I
13: aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 3
iload 2
iinc 2 1
iastore
14: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
arraylength
if_icmplt 11
end local 3 end local 2 16: goto 19
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
18: aload 0
iconst_0
invokevirtual javax.swing.DefaultRowSorter.setModelToViewFromViewToModel:(Z)V
19: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.DefaultRowSorter.fireRowSorterChanged:([I)V
20: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
1 21 1 lastViewToModel [I
9 16 2 included I
10 16 3 i I
public void sort();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
putfield javax.swing.DefaultRowSorter.sorted:Z
1: aload 0
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
invokevirtual javax.swing.DefaultRowSorter.getViewToModelAsInts:([Ljavax/swing/DefaultRowSorter$Row;)[I
astore 1
start local 1 2: aload 0
invokevirtual javax.swing.DefaultRowSorter.updateUseToString:()V
3: aload 0
invokevirtual javax.swing.DefaultRowSorter.isUnsorted:()Z
ifeq 13
4: aload 0
iconst_0
anewarray javax.swing.RowSorter$SortKey
putfield javax.swing.DefaultRowSorter.cachedSortKeys:[Ljavax/swing/RowSorter$SortKey;
5: aload 0
invokevirtual javax.swing.DefaultRowSorter.getRowFilter:()Ljavax/swing/RowFilter;
ifnonnull 11
6: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
ifnull 10
7: aload 0
aconst_null
putfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
8: aload 0
aconst_null
putfield javax.swing.DefaultRowSorter.modelToView:[I
9: goto 21
10: StackMap locals: int[]
StackMap stack:
return
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.DefaultRowSorter.initializeFilteredMapping:()V
12: goto 21
13: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getSortKeys:()Ljava/util/List;
invokevirtual javax.swing.DefaultRowSorter.cacheSortKeys:(Ljava/util/List;)V
14: aload 0
invokevirtual javax.swing.DefaultRowSorter.getRowFilter:()Ljavax/swing/RowFilter;
ifnull 17
15: aload 0
invokevirtual javax.swing.DefaultRowSorter.initializeFilteredMapping:()V
16: goto 19
17: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
invokevirtual javax.swing.DefaultRowSorter.createModelToView:(I)V
18: aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
invokevirtual javax.swing.DefaultRowSorter.createViewToModel:(I)V
19: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
20: aload 0
iconst_0
invokevirtual javax.swing.DefaultRowSorter.setModelToViewFromViewToModel:(Z)V
21: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.DefaultRowSorter.fireRowSorterChanged:([I)V
22: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
2 23 1 lastViewToModel [I
private void updateUseToString();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getColumnCount:()I
istore 1
start local 1 1: aload 0
getfield javax.swing.DefaultRowSorter.useToString:[Z
ifnull 2
aload 0
getfield javax.swing.DefaultRowSorter.useToString:[Z
arraylength
iload 1
if_icmpeq 3
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
newarray 4
putfield javax.swing.DefaultRowSorter.useToString:[Z
3: StackMap locals:
StackMap stack:
iinc 1 -1
goto 6
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.useToString:[Z
iload 1
aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.useToString:(I)Z
bastore
5: iinc 1 -1
StackMap locals:
StackMap stack:
6: iload 1
ifge 4
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
1 8 1 i I
private void initializeFilteredMapping();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
istore 1
start local 1 1: iconst_0
istore 4
start local 4 2: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.createModelToView:(I)V
3: iconst_0
istore 2
start local 2 4: goto 11
5: StackMap locals: javax.swing.DefaultRowSorter int int top int
StackMap stack:
aload 0
iload 2
invokevirtual javax.swing.DefaultRowSorter.include:(I)Z
ifeq 8
6: aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 2
iload 2
iload 4
isub
iastore
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 2
iconst_m1
iastore
9: iinc 4 1
10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
iload 1
if_icmplt 5
12: aload 0
iload 1
iload 4
isub
invokevirtual javax.swing.DefaultRowSorter.createViewToModel:(I)V
13: iconst_0
istore 2
iconst_0
istore 3
start local 3 14: goto 18
15: StackMap locals: javax.swing.DefaultRowSorter int int int int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 2
iaload
iconst_m1
if_icmpeq 17
16: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 3
iinc 3 1
aaload
iload 2
putfield javax.swing.DefaultRowSorter$Row.modelIndex:I
17: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
18: iload 2
iload 1
if_icmplt 15
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
1 20 1 rowCount I
4 20 2 i I
14 20 3 j I
2 20 4 excludedCount I
private void createModelToView(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
ifnull 1
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
arraylength
iload 1
if_icmpeq 2
1: StackMap locals:
StackMap stack:
aload 0
iload 1
newarray 10
putfield javax.swing.DefaultRowSorter.modelToView:[I
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 3 1 rowCount I
MethodParameters:
Name Flags
rowCount
private void createViewToModel(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
ifnull 10
2: iload 1
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
invokestatic java.lang.Math.min:(II)I
istore 2
3: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
iload 1
if_icmpeq 11
4: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
astore 3
start local 3 5: aload 0
iload 1
anewarray javax.swing.DefaultRowSorter$Row
putfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
6: aload 3
iconst_0
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
7: iconst_0
iload 2
8: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 3 9: goto 11
10: StackMap locals: int
StackMap stack:
aload 0
iload 1
anewarray javax.swing.DefaultRowSorter$Row
putfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
11: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 12: goto 15
13: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 3
aaload
iload 3
putfield javax.swing.DefaultRowSorter$Row.modelIndex:I
14: iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 2
if_icmplt 13
16: iload 2
istore 3
goto 19
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 3
new javax.swing.DefaultRowSorter$Row
dup
aload 0
iload 3
invokespecial javax.swing.DefaultRowSorter$Row.<init>:(Ljavax/swing/DefaultRowSorter;I)V
aastore
18: iinc 3 1
StackMap locals:
StackMap stack:
19: iload 3
iload 1
if_icmplt 17
20: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 21 1 rowCount I
1 21 2 recreateFrom I
5 9 3 oldViewToModel [Ljavax/swing/DefaultRowSorter$Row;
12 21 3 i I
MethodParameters:
Name Flags
rowCount
private void cacheSortKeys(java.util.List<? extends javax.swing.RowSorter$SortKey>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: aload 0
iload 2
anewarray java.util.Comparator
putfield javax.swing.DefaultRowSorter.sortComparators:[Ljava/util/Comparator;
2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.sortComparators:[Ljava/util/Comparator;
iload 3
aload 0
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.swing.RowSorter$SortKey
invokevirtual javax.swing.RowSorter$SortKey.getColumn:()I
invokevirtual javax.swing.DefaultRowSorter.getComparator0:(I)Ljava/util/Comparator;
aastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 2
if_icmplt 4
end local 3 7: aload 0
aload 1
iload 2
anewarray javax.swing.RowSorter$SortKey
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.swing.RowSorter$SortKey[]
putfield javax.swing.DefaultRowSorter.cachedSortKeys:[Ljavax/swing/RowSorter$SortKey;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 9 1 keys Ljava/util/List<+Ljavax/swing/RowSorter$SortKey;>;
1 9 2 keySize I
3 7 3 i I
Signature: (Ljava/util/List<+Ljavax/swing/RowSorter$SortKey;>;)V
MethodParameters:
Name Flags
keys
protected boolean useToString(int);
descriptor: (I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.getComparator:(I)Ljava/util/Comparator;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 2 1 column I
MethodParameters:
Name Flags
column
private void setModelToViewFromViewToModel(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifeq 6
1: aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
arraylength
iconst_1
isub
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 2
iconst_m1
iastore
4: iinc 2 -1
StackMap locals:
StackMap stack:
5: iload 2
ifge 3
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
iconst_1
isub
istore 2
start local 2 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 2
aaload
getfield javax.swing.DefaultRowSorter$Row.modelIndex:I
iload 2
iastore
9: iinc 2 -1
StackMap locals:
StackMap stack:
10: iload 2
ifge 8
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 12 1 unsetFirst Z
2 6 2 i I
7 12 2 i I
MethodParameters:
Name Flags
unsetFirst
private int[] getViewToModelAsInts(javax.swing.DefaultRowSorter$Row[]);
descriptor: ([Ljavax/swing/DefaultRowSorter$Row;)[I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 8
1: aload 1
arraylength
newarray 10
astore 2
start local 2 2: aload 1
arraylength
iconst_1
isub
istore 3
start local 3 3: goto 6
4: StackMap locals: int[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
aaload
getfield javax.swing.DefaultRowSorter$Row.modelIndex:I
iastore
5: iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
ifge 4
end local 3 7: aload 2
areturn
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
newarray 10
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 9 1 viewToModel [Ljavax/swing/DefaultRowSorter$Row;
2 8 2 viewToModelI [I
3 7 3 i I
MethodParameters:
Name Flags
viewToModel
public void setComparator(int, java.util.Comparator<?>);
descriptor: (ILjava/util/Comparator;)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
iload 1
invokevirtual javax.swing.DefaultRowSorter.checkColumn:(I)V
1: aload 0
getfield javax.swing.DefaultRowSorter.comparators:[Ljava/util/Comparator;
ifnonnull 3
2: aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getColumnCount:()I
anewarray java.util.Comparator
putfield javax.swing.DefaultRowSorter.comparators:[Ljava/util/Comparator;
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.comparators:[Ljava/util/Comparator;
iload 1
aload 2
aastore
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 5 1 column I
0 5 2 comparator Ljava/util/Comparator<*>;
Signature: (ILjava/util/Comparator<*>;)V
MethodParameters:
Name Flags
column
comparator
public java.util.Comparator<?> getComparator(int);
descriptor: (I)Ljava/util/Comparator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.checkColumn:(I)V
1: aload 0
getfield javax.swing.DefaultRowSorter.comparators:[Ljava/util/Comparator;
ifnull 3
2: aload 0
getfield javax.swing.DefaultRowSorter.comparators:[Ljava/util/Comparator;
iload 1
aaload
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 4 1 column I
Signature: (I)Ljava/util/Comparator<*>;
MethodParameters:
Name Flags
column
private java.util.Comparator<?> getComparator0(int);
descriptor: (I)Ljava/util/Comparator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.getComparator:(I)Ljava/util/Comparator;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: java.util.Comparator
StackMap stack:
invokestatic java.text.Collator.getInstance:()Ljava/text/Collator;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 4 1 column I
1 4 2 comparator Ljava/util/Comparator<*>;
Signature: (I)Ljava/util/Comparator<*>;
MethodParameters:
Name Flags
column
private javax.swing.RowFilter$Entry<M, I> getFilterEntry(int);
descriptor: (I)Ljavax/swing/RowFilter$Entry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.DefaultRowSorter.filterEntry:Ljavax/swing/DefaultRowSorter$FilterEntry;
ifnonnull 2
1: aload 0
new javax.swing.DefaultRowSorter$FilterEntry
dup
aload 0
invokespecial javax.swing.DefaultRowSorter$FilterEntry.<init>:(Ljavax/swing/DefaultRowSorter;)V
putfield javax.swing.DefaultRowSorter.filterEntry:Ljavax/swing/DefaultRowSorter$FilterEntry;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.filterEntry:Ljavax/swing/DefaultRowSorter$FilterEntry;
iload 1
putfield javax.swing.DefaultRowSorter$FilterEntry.modelIndex:I
3: aload 0
getfield javax.swing.DefaultRowSorter.filterEntry:Ljavax/swing/DefaultRowSorter$FilterEntry;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 4 1 modelIndex I
Signature: (I)Ljavax/swing/RowFilter$Entry<TM;TI;>;
MethodParameters:
Name Flags
modelIndex
public int getViewRowCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
ifnull 2
1: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
aload 0
getfield javax.swing.DefaultRowSorter.modelRowCount:I
invokestatic java.lang.Math.max:(II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
public int getModelRowCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
private void allChanged();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield javax.swing.DefaultRowSorter.modelToView:[I
1: aload 0
aconst_null
putfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
2: aload 0
aconst_null
putfield javax.swing.DefaultRowSorter.comparators:[Ljava/util/Comparator;
3: aload 0
aconst_null
putfield javax.swing.DefaultRowSorter.isSortable:[Z
4: aload 0
invokevirtual javax.swing.DefaultRowSorter.isUnsorted:()Z
ifeq 7
5: aload 0
invokevirtual javax.swing.DefaultRowSorter.sort:()V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aconst_null
invokevirtual javax.swing.DefaultRowSorter.setSortKeys:(Ljava/util/List;)V
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
public void modelStructureChanged();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.DefaultRowSorter.allChanged:()V
1: aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
putfield javax.swing.DefaultRowSorter.modelRowCount:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
public void allRowsChanged();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
putfield javax.swing.DefaultRowSorter.modelRowCount:I
1: aload 0
invokevirtual javax.swing.DefaultRowSorter.sort:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
public void rowsInserted(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.checkAgainstModel:(II)V
1: aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
istore 3
start local 3 2: iload 2
iload 3
if_icmplt 4
3: new java.lang.IndexOutOfBoundsException
dup
ldc "Invalid range"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: int
StackMap stack:
aload 0
iload 3
putfield javax.swing.DefaultRowSorter.modelRowCount:I
5: aload 0
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.shouldOptimizeChange:(II)Z
ifeq 7
6: aload 0
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.rowsInserted0:(II)V
7: StackMap locals:
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 Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 8 1 firstRow I
0 8 2 endRow I
2 8 3 newModelRowCount I
MethodParameters:
Name Flags
firstRow
endRow
public void rowsDeleted(int, int);
descriptor: (II)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
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.checkAgainstModel:(II)V
1: iload 1
aload 0
getfield javax.swing.DefaultRowSorter.modelRowCount:I
if_icmpge 2
iload 2
aload 0
getfield javax.swing.DefaultRowSorter.modelRowCount:I
if_icmplt 3
2: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
ldc "Invalid range"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
putfield javax.swing.DefaultRowSorter.modelRowCount:I
4: aload 0
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.shouldOptimizeChange:(II)Z
ifeq 6
5: aload 0
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.rowsDeleted0:(II)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 7 1 firstRow I
0 7 2 endRow I
MethodParameters:
Name Flags
firstRow
endRow
public void rowsUpdated(int, int);
descriptor: (II)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
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.checkAgainstModel:(II)V
1: iload 1
aload 0
getfield javax.swing.DefaultRowSorter.modelRowCount:I
if_icmpge 2
iload 2
aload 0
getfield javax.swing.DefaultRowSorter.modelRowCount:I
if_icmplt 3
2: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
ldc "Invalid range"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.DefaultRowSorter.getSortsOnUpdates:()Z
ifeq 7
4: aload 0
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.shouldOptimizeChange:(II)Z
ifeq 8
5: aload 0
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.rowsUpdated0:(II)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.swing.DefaultRowSorter.sorted:Z
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 9 1 firstRow I
0 9 2 endRow I
MethodParameters:
Name Flags
firstRow
endRow
public void rowsUpdated(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokevirtual javax.swing.DefaultRowSorter.checkColumn:(I)V
1: aload 0
iload 1
iload 2
invokevirtual javax.swing.DefaultRowSorter.rowsUpdated:(II)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 3 1 firstRow I
0 3 2 endRow I
0 3 3 column I
MethodParameters:
Name Flags
firstRow
endRow
column
private void checkAgainstModel(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
if_icmpgt 2
iload 1
iflt 2
iload 2
iflt 2
1: iload 1
aload 0
getfield javax.swing.DefaultRowSorter.modelRowCount:I
if_icmple 3
2: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
ldc "Invalid range"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 4 1 firstRow I
0 4 2 endRow I
MethodParameters:
Name Flags
firstRow
endRow
private boolean include(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.DefaultRowSorter.getRowFilter:()Ljavax/swing/RowFilter;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 0
iload 1
invokevirtual javax.swing.DefaultRowSorter.getFilterEntry:(I)Ljavax/swing/RowFilter$Entry;
invokevirtual javax.swing.RowFilter.include:(Ljavax/swing/RowFilter$Entry;)Z
ireturn
3: StackMap locals: javax.swing.RowFilter
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 4 1 row I
1 4 2 filter Ljavax/swing/RowFilter<-TM;-TI;>;
MethodParameters:
Name Flags
row
private int compare(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 8
start local 8 1: goto 30
2: StackMap locals: javax.swing.DefaultRowSorter int int top top top top top int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.cachedSortKeys:[Ljavax/swing/RowSorter$SortKey;
iload 8
aaload
invokevirtual javax.swing.RowSorter$SortKey.getColumn:()I
istore 3
start local 3 3: aload 0
getfield javax.swing.DefaultRowSorter.cachedSortKeys:[Ljavax/swing/RowSorter$SortKey;
iload 8
aaload
invokevirtual javax.swing.RowSorter$SortKey.getSortOrder:()Ljavax/swing/SortOrder;
astore 4
start local 4 4: aload 4
getstatic javax.swing.SortOrder.UNSORTED:Ljavax/swing/SortOrder;
if_acmpne 7
5: iload 1
iload 2
isub
istore 7
start local 7 6: goto 27
end local 7 7: StackMap locals: javax.swing.DefaultRowSorter int int int javax.swing.SortOrder top top top int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.useToString:[Z
iload 3
baload
ifeq 11
8: aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
iload 1
iload 3
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getStringValueAt:(II)Ljava/lang/String;
astore 5
start local 5 9: aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
iload 2
iload 3
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getStringValueAt:(II)Ljava/lang/String;
astore 6
start local 6 10: goto 13
end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
iload 1
iload 3
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getValueAt:(II)Ljava/lang/Object;
astore 5
start local 5 12: aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
iload 2
iload 3
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getValueAt:(II)Ljava/lang/Object;
astore 6
start local 6 13: StackMap locals: javax.swing.DefaultRowSorter int int int javax.swing.SortOrder java.lang.Object java.lang.Object top int
StackMap stack:
aload 5
ifnonnull 19
14: aload 6
ifnonnull 17
15: iconst_0
istore 7
start local 7 16: goto 25
end local 7 17: StackMap locals:
StackMap stack:
iconst_m1
istore 7
start local 7 18: goto 25
end local 7 StackMap locals:
StackMap stack:
19: aload 6
ifnonnull 22
20: iconst_1
istore 7
start local 7 21: goto 25
end local 7 22: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.sortComparators:[Ljava/util/Comparator;
iload 8
aaload
23: astore 9
start local 9 24: aload 9
aload 5
aload 6
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 7
end local 9 start local 7 25: StackMap locals: javax.swing.DefaultRowSorter int int int javax.swing.SortOrder java.lang.Object java.lang.Object int int
StackMap stack:
aload 4
getstatic javax.swing.SortOrder.DESCENDING:Ljavax/swing/SortOrder;
if_acmpne 27
26: iload 7
iconst_m1
imul
istore 7
end local 6 end local 5 27: StackMap locals: javax.swing.DefaultRowSorter int int int javax.swing.SortOrder top top int int
StackMap stack:
iload 7
ifeq 29
28: iload 7
ireturn
29: StackMap locals:
StackMap stack:
iinc 8 1
end local 7 end local 4 end local 3 StackMap locals: javax.swing.DefaultRowSorter int int top top top top top int
StackMap stack:
30: iload 8
aload 0
getfield javax.swing.DefaultRowSorter.cachedSortKeys:[Ljavax/swing/RowSorter$SortKey;
arraylength
if_icmplt 2
end local 8 31: iload 1
iload 2
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 32 1 model1 I
0 32 2 model2 I
3 30 3 column I
4 30 4 sortOrder Ljavax/swing/SortOrder;
9 11 5 v1 Ljava/lang/Object;
12 27 5 v1 Ljava/lang/Object;
10 11 6 v2 Ljava/lang/Object;
13 27 6 v2 Ljava/lang/Object;
6 7 7 result I
16 17 7 result I
18 19 7 result I
21 22 7 result I
25 30 7 result I
1 31 8 counter I
24 25 9 c Ljava/util/Comparator<Ljava/lang/Object;>;
MethodParameters:
Name Flags
model1
model2
private boolean isTransformed();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
private void insertInOrder(java.util.List<javax.swing.DefaultRowSorter$Row>, javax.swing.DefaultRowSorter$Row[]);
descriptor: (Ljava/util/List;[Ljavax/swing/DefaultRowSorter$Row;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
invokeinterface java.util.List.size:()I
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 13
4: StackMap locals: javax.swing.DefaultRowSorter java.util.List javax.swing.DefaultRowSorter$Row[] int top int int
StackMap stack:
aload 2
aload 1
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;Ljava/lang/Object;)I
istore 4
start local 4 5: iload 4
ifge 7
6: iconst_m1
iload 4
isub
istore 4
7: StackMap locals: javax.swing.DefaultRowSorter java.util.List javax.swing.DefaultRowSorter$Row[] int int int int
StackMap stack:
aload 2
iload 3
8: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 3
iload 6
iadd
iload 4
iload 3
isub
9: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 4
iload 6
iadd
aload 1
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.swing.DefaultRowSorter$Row
aastore
11: iload 4
istore 3
12: iinc 6 1
end local 4 StackMap locals: javax.swing.DefaultRowSorter java.util.List javax.swing.DefaultRowSorter$Row[] int top int int
StackMap stack:
13: iload 6
iload 5
if_icmplt 4
end local 6 14: aload 2
iload 3
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 3
iload 5
iadd
15: aload 2
arraylength
iload 3
isub
16: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 18 1 toAdd Ljava/util/List<Ljavax/swing/DefaultRowSorter$Row;>;
0 18 2 current [Ljavax/swing/DefaultRowSorter$Row;
1 18 3 last I
5 13 4 index I
2 18 5 max I
3 14 6 i I
Signature: (Ljava/util/List<Ljavax/swing/DefaultRowSorter$Row;>;[Ljavax/swing/DefaultRowSorter$Row;)V
MethodParameters:
Name Flags
toAdd
current
private boolean shouldOptimizeChange(int, int);
descriptor: (II)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.DefaultRowSorter.isTransformed:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.sorted:Z
ifeq 3
iload 2
iload 1
isub
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
bipush 10
idiv
if_icmple 5
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.DefaultRowSorter.sort:()V
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 6 1 firstRow I
0 6 2 lastRow I
MethodParameters:
Name Flags
firstRow
lastRow
private void rowsInserted0(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
invokevirtual javax.swing.DefaultRowSorter.getViewToModelAsInts:([Ljavax/swing/DefaultRowSorter$Row;)[I
astore 3
start local 3 1: iload 2
iload 1
isub
iconst_1
iadd
istore 5
start local 5 2: new java.util.ArrayList
dup
iload 5
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 3: iload 1
istore 4
start local 4 4: goto 8
5: StackMap locals: javax.swing.DefaultRowSorter int int int[] int int java.util.List
StackMap stack:
aload 0
iload 4
invokevirtual javax.swing.DefaultRowSorter.include:(I)Z
ifeq 7
6: aload 6
new javax.swing.DefaultRowSorter$Row
dup
aload 0
iload 4
invokespecial javax.swing.DefaultRowSorter$Row.<init>:(Ljavax/swing/DefaultRowSorter;I)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 2
if_icmple 5
9: aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
arraylength
iconst_1
isub
istore 4
goto 14
10: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 4
iaload
istore 7
start local 7 11: iload 7
iconst_m1
if_icmpeq 13
12: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 7
aaload
dup
getfield javax.swing.DefaultRowSorter$Row.modelIndex:I
iload 5
iadd
putfield javax.swing.DefaultRowSorter$Row.modelIndex:I
13: StackMap locals: int
StackMap stack:
iinc 4 -1
end local 7 StackMap locals:
StackMap stack:
14: iload 4
iload 1
if_icmpge 10
15: aload 6
invokeinterface java.util.List.size:()I
ifle 20
16: aload 6
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
17: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
astore 8
start local 8 18: aload 0
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
aload 6
invokeinterface java.util.List.size:()I
iadd
anewarray javax.swing.DefaultRowSorter$Row
putfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
19: aload 0
aload 6
aload 8
invokevirtual javax.swing.DefaultRowSorter.insertInOrder:(Ljava/util/List;[Ljavax/swing/DefaultRowSorter$Row;)V
end local 8 20: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
invokevirtual javax.swing.DefaultRowSorter.createModelToView:(I)V
21: aload 0
iconst_1
invokevirtual javax.swing.DefaultRowSorter.setModelToViewFromViewToModel:(Z)V
22: aload 0
aload 3
invokevirtual javax.swing.DefaultRowSorter.fireRowSorterChanged:([I)V
23: return
end local 6 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 24 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 24 1 firstRow I
0 24 2 lastRow I
1 24 3 oldViewToModel [I
4 24 4 i I
2 24 5 delta I
3 24 6 added Ljava/util/List<Ljavax/swing/DefaultRowSorter$Row;>;
11 14 7 viewIndex I
18 20 8 lastViewToModel [Ljavax/swing/DefaultRowSorter$Row;
MethodParameters:
Name Flags
firstRow
lastRow
private void rowsDeleted0(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
invokevirtual javax.swing.DefaultRowSorter.getViewToModelAsInts:([Ljavax/swing/DefaultRowSorter$Row;)[I
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iload 1
istore 5
start local 5 3: goto 9
4: StackMap locals: int[] int int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 5
iaload
istore 6
start local 6 5: iload 6
iconst_m1
if_icmpeq 8
6: iinc 4 1
7: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 6
aconst_null
aastore
8: StackMap locals: int
StackMap stack:
iinc 5 1
end local 6 StackMap locals:
StackMap stack:
9: iload 5
iload 2
if_icmple 4
10: iload 2
iload 1
isub
iconst_1
iadd
istore 7
start local 7 11: aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
arraylength
iconst_1
isub
istore 5
goto 16
12: StackMap locals: javax.swing.DefaultRowSorter int int int[] int int top int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 5
iaload
istore 6
start local 6 13: iload 6
iconst_m1
if_icmpeq 15
14: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 6
aaload
dup
getfield javax.swing.DefaultRowSorter$Row.modelIndex:I
iload 7
isub
putfield javax.swing.DefaultRowSorter$Row.modelIndex:I
15: StackMap locals: javax.swing.DefaultRowSorter int int int[] int int int int
StackMap stack:
iinc 5 -1
end local 6 StackMap locals: javax.swing.DefaultRowSorter int int int[] int int top int
StackMap stack:
16: iload 5
iload 2
if_icmpgt 12
17: iload 4
ifle 36
18: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
19: iload 4
20: isub
anewarray javax.swing.DefaultRowSorter$Row
astore 8
start local 8 21: iconst_0
istore 9
start local 9 22: iconst_0
istore 10
start local 10 23: iconst_0
istore 5
goto 31
24: StackMap locals: javax.swing.DefaultRowSorter$Row[] int int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 5
aaload
ifnonnull 30
25: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 10
26: aload 8
iload 9
iload 5
iload 10
isub
27: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
28: iload 9
iload 5
iload 10
isub
iadd
istore 9
29: iload 5
iconst_1
iadd
istore 10
30: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
31: iload 5
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
if_icmplt 24
32: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 10
33: aload 8
iload 9
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
iload 10
isub
34: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
35: aload 0
aload 8
putfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
end local 10 end local 9 end local 8 36: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getRowCount:()I
invokevirtual javax.swing.DefaultRowSorter.createModelToView:(I)V
37: aload 0
iconst_1
invokevirtual javax.swing.DefaultRowSorter.setModelToViewFromViewToModel:(Z)V
38: aload 0
aload 3
invokevirtual javax.swing.DefaultRowSorter.fireRowSorterChanged:([I)V
39: return
end local 7 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 40 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 40 1 firstRow I
0 40 2 lastRow I
1 40 3 oldViewToModel [I
2 40 4 removedFromView I
3 40 5 i I
5 9 6 viewIndex I
13 16 6 viewIndex I
11 40 7 delta I
21 36 8 newViewToModel [Ljavax/swing/DefaultRowSorter$Row;
22 36 9 newIndex I
23 36 10 last I
MethodParameters:
Name Flags
firstRow
lastRow
private void rowsUpdated0(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
invokevirtual javax.swing.DefaultRowSorter.getViewToModelAsInts:([Ljavax/swing/DefaultRowSorter$Row;)[I
astore 3
start local 3 1: iload 2
iload 1
isub
iconst_1
iadd
istore 6
start local 6 2: aload 0
invokevirtual javax.swing.DefaultRowSorter.getRowFilter:()Ljavax/swing/RowFilter;
ifnonnull 21
3: iload 6
anewarray javax.swing.DefaultRowSorter$Row
astore 8
start local 8 4: iconst_0
istore 5
start local 5 5: iload 1
istore 4
start local 4 6: goto 9
7: StackMap locals: javax.swing.DefaultRowSorter int int int[] int int int top javax.swing.DefaultRowSorter$Row[]
StackMap stack:
aload 8
iload 5
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 4
iaload
aaload
aastore
8: iinc 4 1
iinc 5 1
StackMap locals:
StackMap stack:
9: iload 4
iload 2
if_icmple 7
10: aload 8
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
11: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
iload 6
isub
anewarray javax.swing.DefaultRowSorter$Row
astore 9
start local 9 12: iconst_0
istore 4
iconst_0
istore 5
goto 17
13: StackMap locals: javax.swing.DefaultRowSorter$Row[]
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 4
aaload
getfield javax.swing.DefaultRowSorter$Row.modelIndex:I
istore 7
start local 7 14: iload 7
iload 1
if_icmplt 15
iload 7
iload 2
if_icmple 16
15: StackMap locals: javax.swing.DefaultRowSorter int int int[] int int int int javax.swing.DefaultRowSorter$Row[] javax.swing.DefaultRowSorter$Row[]
StackMap stack:
aload 9
iload 5
iinc 5 1
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 4
aaload
aastore
16: StackMap locals:
StackMap stack:
iinc 4 1
end local 7 StackMap locals: javax.swing.DefaultRowSorter int int int[] int int int top javax.swing.DefaultRowSorter$Row[] javax.swing.DefaultRowSorter$Row[]
StackMap stack:
17: iload 4
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
if_icmplt 13
18: aload 0
aload 8
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 9
invokevirtual javax.swing.DefaultRowSorter.insertInOrder:(Ljava/util/List;[Ljavax/swing/DefaultRowSorter$Row;)V
19: aload 0
iconst_0
invokevirtual javax.swing.DefaultRowSorter.setModelToViewFromViewToModel:(Z)V
end local 9 end local 8 20: goto 55
end local 5 end local 4 21: StackMap locals: javax.swing.DefaultRowSorter int int int[] top top int
StackMap stack:
new java.util.ArrayList
dup
iload 6
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 22: iconst_0
istore 9
start local 9 23: iconst_0
istore 10
start local 10 24: iconst_0
istore 11
start local 11 25: iload 1
istore 4
start local 4 26: goto 39
27: StackMap locals: javax.swing.DefaultRowSorter int int int[] int top int top java.util.List int int int
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 4
iaload
iconst_m1
if_icmpne 32
28: aload 0
iload 4
invokevirtual javax.swing.DefaultRowSorter.include:(I)Z
ifeq 38
29: aload 8
new javax.swing.DefaultRowSorter$Row
dup
aload 0
iload 4
invokespecial javax.swing.DefaultRowSorter$Row.<init>:(Ljavax/swing/DefaultRowSorter;I)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: iinc 9 1
31: goto 38
32: StackMap locals:
StackMap stack:
aload 0
iload 4
invokevirtual javax.swing.DefaultRowSorter.include:(I)Z
ifne 35
33: iinc 10 1
34: goto 36
35: StackMap locals:
StackMap stack:
aload 8
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 4
iaload
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
36: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 4
bipush -2
iastore
37: iinc 11 1
38: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
39: iload 4
iload 2
if_icmple 27
40: aload 8
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
41: aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
iload 11
isub
anewarray javax.swing.DefaultRowSorter$Row
astore 12
start local 12 42: iconst_0
istore 4
iconst_0
istore 5
start local 5 43: goto 48
44: StackMap locals: javax.swing.DefaultRowSorter int int int[] int int int top java.util.List int int int javax.swing.DefaultRowSorter$Row[]
StackMap stack:
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 4
aaload
getfield javax.swing.DefaultRowSorter$Row.modelIndex:I
istore 7
start local 7 45: aload 0
getfield javax.swing.DefaultRowSorter.modelToView:[I
iload 7
iaload
bipush -2
if_icmpeq 47
46: aload 12
iload 5
iinc 5 1
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
iload 4
aaload
aastore
47: StackMap locals: javax.swing.DefaultRowSorter int int int[] int int int int java.util.List int int int javax.swing.DefaultRowSorter$Row[]
StackMap stack:
iinc 4 1
end local 7 StackMap locals: javax.swing.DefaultRowSorter int int int[] int int int top java.util.List int int int javax.swing.DefaultRowSorter$Row[]
StackMap stack:
48: iload 4
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
if_icmplt 44
49: iload 9
iload 10
if_icmpeq 53
50: aload 0
aload 0
getfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
arraylength
iload 9
iadd
51: iload 10
isub
anewarray javax.swing.DefaultRowSorter$Row
52: putfield javax.swing.DefaultRowSorter.viewToModel:[Ljavax/swing/DefaultRowSorter$Row;
53: StackMap locals:
StackMap stack:
aload 0
aload 8
aload 12
invokevirtual javax.swing.DefaultRowSorter.insertInOrder:(Ljava/util/List;[Ljavax/swing/DefaultRowSorter$Row;)V
54: aload 0
iconst_1
invokevirtual javax.swing.DefaultRowSorter.setModelToViewFromViewToModel:(Z)V
end local 12 end local 11 end local 10 end local 9 end local 8 55: StackMap locals: javax.swing.DefaultRowSorter int int int[] int int int
StackMap stack:
aload 0
aload 3
invokevirtual javax.swing.DefaultRowSorter.fireRowSorterChanged:([I)V
56: return
end local 6 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 57 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 57 1 firstRow I
0 57 2 lastRow I
1 57 3 oldViewToModel [I
6 21 4 i I
26 57 4 i I
5 21 5 j I
43 57 5 j I
2 57 6 delta I
14 17 7 modelIndex I
45 48 7 modelIndex I
4 20 8 updated [Ljavax/swing/DefaultRowSorter$Row;
12 20 9 intermediary [Ljavax/swing/DefaultRowSorter$Row;
22 55 8 updated Ljava/util/List<Ljavax/swing/DefaultRowSorter$Row;>;
23 55 9 newlyVisible I
24 55 10 newlyHidden I
25 55 11 effected I
42 55 12 intermediary [Ljavax/swing/DefaultRowSorter$Row;
MethodParameters:
Name Flags
firstRow
lastRow
private void checkColumn(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual javax.swing.DefaultRowSorter.getModelWrapper:()Ljavax/swing/DefaultRowSorter$ModelWrapper;
invokevirtual javax.swing.DefaultRowSorter$ModelWrapper.getColumnCount:()I
if_icmplt 4
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
2: ldc "column beyond range of TableModel"
3: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/DefaultRowSorter<TM;TI;>;
0 5 1 column I
MethodParameters:
Name Flags
column
}
Signature: <M:Ljava/lang/Object;I:Ljava/lang/Object;>Ljavax/swing/RowSorter<TM;>;
SourceFile: "DefaultRowSorter.java"
NestMembers:
javax.swing.DefaultRowSorter$FilterEntry javax.swing.DefaultRowSorter$ModelWrapper javax.swing.DefaultRowSorter$Row
InnerClasses:
private FilterEntry = javax.swing.DefaultRowSorter$FilterEntry of javax.swing.DefaultRowSorter
protected abstract ModelWrapper = javax.swing.DefaultRowSorter$ModelWrapper of javax.swing.DefaultRowSorter
private Row = javax.swing.DefaultRowSorter$Row of javax.swing.DefaultRowSorter
public abstract Entry = javax.swing.RowFilter$Entry of javax.swing.RowFilter
public SortKey = javax.swing.RowSorter$SortKey of javax.swing.RowSorter