class javafx.scene.chart.XYChart$Series$1 implements javafx.collections.ListChangeListener<javafx.scene.chart.XYChart$Data<X, Y>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.chart.XYChart$Series$1
super_class: java.lang.Object
{
final javafx.scene.chart.XYChart$Series this$1;
descriptor: Ljavafx/scene/chart/XYChart$Series;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.scene.chart.XYChart$Series);
descriptor: (Ljavafx/scene/chart/XYChart$Series;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/chart/XYChart$Series$1;
MethodParameters:
Name Flags
this$0 final
public void onChanged(javafx.collections.ListChangeListener$Change<? extends javafx.scene.chart.XYChart$Data<X, Y>>);
descriptor: (Ljavafx/collections/ListChangeListener$Change;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getList:()Ljavafx/collections/ObservableList;
astore 2
start local 2 1: aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
invokevirtual javafx.scene.chart.XYChart$Series.getChart:()Ljavafx/scene/chart/XYChart;
astore 3
start local 3 2: goto 47
3: StackMap locals: javafx.collections.ObservableList javafx.scene.chart.XYChart
StackMap stack:
aload 3
ifnull 37
4: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasPermutated:()Z
ifeq 7
5: aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
getfield javafx.scene.chart.XYChart$Series.displayedData:Ljava/util/List;
aload 2
invokedynamic compare(Ljavafx/collections/ObservableList;)Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
javafx/scene/chart/XYChart$Series$1.lambda$0(Ljavafx/collections/ObservableList;Ljavafx/scene/chart/XYChart$Data;Ljavafx/scene/chart/XYChart$Data;)I (6)
(Ljavafx/scene/chart/XYChart$Data;Ljavafx/scene/chart/XYChart$Data;)I
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
6: return
7: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
getfield javafx.scene.chart.XYChart$Series.displayedData:Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 8: aload 4
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getRemoved:()Ljava/util/List;
invokeinterface java.util.Set.removeAll:(Ljava/util/Collection;)Z
pop
9: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSubList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: javafx.scene.chart.XYChart$Series$1 javafx.collections.ListChangeListener$Change javafx.collections.ObservableList javafx.scene.chart.XYChart java.util.Set top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.chart.XYChart$Data
astore 5
start local 5 11: aload 4
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifne 13
12: new java.lang.IllegalArgumentException
dup
ldc "Duplicate data added"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
14: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getRemoved:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 17
StackMap locals:
StackMap stack:
15: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.chart.XYChart$Data
astore 5
start local 5 16: aload 5
iconst_1
putfield javafx.scene.chart.XYChart$Data.setToRemove:Z
end local 5 17: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSize:()I
ifle 33
19: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSubList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 24
StackMap locals:
StackMap stack:
20: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.chart.XYChart$Data
astore 5
start local 5 21: aload 5
getfield javafx.scene.chart.XYChart$Data.setToRemove:Z
ifeq 24
22: aload 3
ifnull 23
aload 3
aload 5
aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
invokevirtual javafx.scene.chart.XYChart.dataBeingRemovedIsAdded:(Ljavafx/scene/chart/XYChart$Data;Ljavafx/scene/chart/XYChart$Series;)V
23: StackMap locals: javafx.scene.chart.XYChart$Series$1 javafx.collections.ListChangeListener$Change javafx.collections.ObservableList javafx.scene.chart.XYChart java.util.Set javafx.scene.chart.XYChart$Data java.util.Iterator
StackMap stack:
aload 5
iconst_0
putfield javafx.scene.chart.XYChart$Data.setToRemove:Z
end local 5 24: StackMap locals: javafx.scene.chart.XYChart$Series$1 javafx.collections.ListChangeListener$Change javafx.collections.ObservableList javafx.scene.chart.XYChart java.util.Set top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
25: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSubList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 28
StackMap locals:
StackMap stack:
26: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.chart.XYChart$Data
astore 5
start local 5 27: aload 5
aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
invokevirtual javafx.scene.chart.XYChart$Data.setSeries:(Ljavafx/scene/chart/XYChart$Series;)V
end local 5 28: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
29: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
ifne 32
30: aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
getfield javafx.scene.chart.XYChart$Series.displayedData:Ljava/util/List;
iconst_0
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSubList:()Ljava/util/List;
invokeinterface java.util.List.addAll:(ILjava/util/Collection;)Z
pop
31: goto 33
32: StackMap locals: javafx.scene.chart.XYChart$Series$1 javafx.collections.ListChangeListener$Change javafx.collections.ObservableList javafx.scene.chart.XYChart java.util.Set
StackMap stack:
aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
getfield javafx.scene.chart.XYChart$Series.displayedData:Ljava/util/List;
aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
getfield javafx.scene.chart.XYChart$Series.displayedData:Ljava/util/List;
aload 2
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
iconst_1
isub
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
iconst_1
iadd
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSubList:()Ljava/util/List;
invokeinterface java.util.List.addAll:(ILjava/util/Collection;)Z
pop
33: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
34: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getRemoved:()Ljava/util/List;
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getTo:()I
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.wasPermutated:()Z
35: invokevirtual javafx.scene.chart.XYChart.dataItemsChanged:(Ljavafx/scene/chart/XYChart$Series;Ljava/util/List;IIZ)V
end local 4 36: goto 47
37: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 38: aload 2
invokeinterface javafx.collections.ObservableList.iterator:()Ljava/util/Iterator;
astore 6
goto 42
StackMap locals: javafx.scene.chart.XYChart$Series$1 javafx.collections.ListChangeListener$Change javafx.collections.ObservableList javafx.scene.chart.XYChart java.util.Set top java.util.Iterator
StackMap stack:
39: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.chart.XYChart$Data
astore 5
start local 5 40: aload 4
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifne 42
41: new java.lang.IllegalArgumentException
dup
ldc "Duplicate data added"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 42: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 39
43: aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSubList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 46
StackMap locals:
StackMap stack:
44: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.chart.XYChart$Data
astore 5
start local 5 45: aload 5
aload 0
getfield javafx.scene.chart.XYChart$Series$1.this$1:Ljavafx/scene/chart/XYChart$Series;
invokevirtual javafx.scene.chart.XYChart$Data.setSeries:(Ljavafx/scene/chart/XYChart$Series;)V
end local 5 46: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 44
end local 4 47: StackMap locals: javafx.scene.chart.XYChart$Series$1 javafx.collections.ListChangeListener$Change javafx.collections.ObservableList javafx.scene.chart.XYChart
StackMap stack:
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.next:()Z
ifne 3
48: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Ljavafx/scene/chart/XYChart$Series$1;
0 49 1 c Ljavafx/collections/ListChangeListener$Change<+Ljavafx/scene/chart/XYChart$Data<TX;TY;>;>;
1 49 2 data Ljavafx/collections/ObservableList<+Ljavafx/scene/chart/XYChart$Data<TX;TY;>;>;
2 49 3 chart Ljavafx/scene/chart/XYChart<TX;TY;>;
8 36 4 dupCheck Ljava/util/Set<Ljavafx/scene/chart/XYChart$Data<TX;TY;>;>;
11 13 5 d Ljavafx/scene/chart/XYChart$Data<TX;TY;>;
16 17 5 item Ljavafx/scene/chart/XYChart$Data<TX;TY;>;
21 24 5 itemPtr Ljavafx/scene/chart/XYChart$Data<TX;TY;>;
27 28 5 d Ljavafx/scene/chart/XYChart$Data<TX;TY;>;
38 47 4 dupCheck Ljava/util/Set<Ljavafx/scene/chart/XYChart$Data<TX;TY;>;>;
40 42 5 d Ljavafx/scene/chart/XYChart$Data<TX;TY;>;
45 46 5 d Ljavafx/scene/chart/XYChart$Data<TX;TY;>;
Signature: (Ljavafx/collections/ListChangeListener$Change<+Ljavafx/scene/chart/XYChart$Data<TX;TY;>;>;)V
MethodParameters:
Name Flags
c
private static int lambda$0(javafx.collections.ObservableList, javafx.scene.chart.XYChart$Data, javafx.scene.chart.XYChart$Data);
descriptor: (Ljavafx/collections/ObservableList;Ljavafx/scene/chart/XYChart$Data;Ljavafx/scene/chart/XYChart$Data;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 2
invokeinterface javafx.collections.ObservableList.indexOf:(Ljava/lang/Object;)I
aload 0
aload 1
invokeinterface javafx.collections.ObservableList.indexOf:(Ljava/lang/Object;)I
isub
ireturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 o1 Ljavafx/scene/chart/XYChart$Data<TX;TY;>;
0 1 2 o2 Ljavafx/scene/chart/XYChart$Data<TX;TY;>;
}
Signature: Ljava/lang/Object;Ljavafx/collections/ListChangeListener<Ljavafx/scene/chart/XYChart$Data<TX;TY;>;>;
SourceFile: "XYChart.java"
EnclosingMethod: javafx.scene.chart.XYChart$Series
NestHost: javafx.scene.chart.XYChart
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Change = javafx.collections.ListChangeListener$Change of javafx.collections.ListChangeListener
public final Data = javafx.scene.chart.XYChart$Data of javafx.scene.chart.XYChart
public final Series = javafx.scene.chart.XYChart$Series of javafx.scene.chart.XYChart
javafx.scene.chart.XYChart$Series$1