class javafx.scene.Scene$TouchMap
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.Scene$TouchMap
super_class: java.lang.Object
{
private static final int FAST_THRESHOLD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
int[] fastMap;
descriptor: [I
flags: (0x0000)
java.util.Map<java.lang.Long, java.lang.Integer> slowMap;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Ljava/lang/Long;Ljava/lang/Integer;>;
java.util.List<java.lang.Integer> order;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/Integer;>;
java.util.List<java.lang.Long> removed;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/Long;>;
int counter;
descriptor: I
flags: (0x0000)
int active;
descriptor: I
flags: (0x0000)
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 10
newarray 10
putfield javafx.scene.Scene$TouchMap.fastMap:[I
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javafx.scene.Scene$TouchMap.slowMap:Ljava/util/Map;
3: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield javafx.scene.Scene$TouchMap.order:Ljava/util/List;
4: aload 0
new java.util.ArrayList
dup
bipush 10
invokespecial java.util.ArrayList.<init>:(I)V
putfield javafx.scene.Scene$TouchMap.removed:Ljava/util/List;
5: aload 0
iconst_0
putfield javafx.scene.Scene$TouchMap.counter:I
6: aload 0
iconst_0
putfield javafx.scene.Scene$TouchMap.active:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavafx/scene/Scene$TouchMap;
public int add(long);
descriptor: (J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield javafx.scene.Scene$TouchMap.counter:I
iconst_1
iadd
putfield javafx.scene.Scene$TouchMap.counter:I
1: aload 0
dup
getfield javafx.scene.Scene$TouchMap.active:I
iconst_1
iadd
putfield javafx.scene.Scene$TouchMap.active:I
2: lload 1
ldc 10
lcmp
ifge 5
3: aload 0
getfield javafx.scene.Scene$TouchMap.fastMap:[I
lload 1
l2i
aload 0
getfield javafx.scene.Scene$TouchMap.counter:I
iastore
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.Scene$TouchMap.slowMap:Ljava/util/Map;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 0
getfield javafx.scene.Scene$TouchMap.counter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.Scene$TouchMap.order:Ljava/util/List;
aload 0
getfield javafx.scene.Scene$TouchMap.counter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 0
getfield javafx.scene.Scene$TouchMap.counter:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavafx/scene/Scene$TouchMap;
0 8 1 id J
MethodParameters:
Name Flags
id
public void remove(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.Scene$TouchMap.removed:Ljava/util/List;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/Scene$TouchMap;
0 2 1 id J
MethodParameters:
Name Flags
id
public int get(long);
descriptor: (J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: lload 1
ldc 10
lcmp
ifge 5
1: aload 0
getfield javafx.scene.Scene$TouchMap.fastMap:[I
lload 1
l2i
iaload
istore 3
start local 3 2: iload 3
ifne 4
3: new java.lang.RuntimeException
dup
ldc "Platform reported wrong touch point ID"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 5: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.Scene$TouchMap.slowMap:Ljava/util/Map;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
6: ireturn
7: StackMap locals:
StackMap stack: java.lang.NullPointerException
pop
8: new java.lang.RuntimeException
dup
ldc "Platform reported wrong touch point ID"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavafx/scene/Scene$TouchMap;
0 9 1 id J
2 5 3 result I
Exception table:
from to target type
5 6 7 Class java.lang.NullPointerException
MethodParameters:
Name Flags
id
public int getOrder(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 javafx.scene.Scene$TouchMap.order:Ljava/util/List;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/Scene$TouchMap;
0 1 1 id I
MethodParameters:
Name Flags
id
public boolean cleanup();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield javafx.scene.Scene$TouchMap.removed:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: javafx.scene.Scene$TouchMap top top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 1
start local 1 2: aload 0
dup
getfield javafx.scene.Scene$TouchMap.active:I
iconst_1
isub
putfield javafx.scene.Scene$TouchMap.active:I
3: aload 0
getfield javafx.scene.Scene$TouchMap.order:Ljava/util/List;
aload 0
lload 1
invokevirtual javafx.scene.Scene$TouchMap.get:(J)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
4: lload 1
ldc 10
lcmp
ifge 7
5: aload 0
getfield javafx.scene.Scene$TouchMap.fastMap:[I
lload 1
l2i
iconst_0
iastore
6: goto 8
7: StackMap locals: javafx.scene.Scene$TouchMap long java.util.Iterator
StackMap stack:
aload 0
getfield javafx.scene.Scene$TouchMap.slowMap:Ljava/util/Map;
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.Scene$TouchMap.active:I
ifne 10
9: aload 0
iconst_0
putfield javafx.scene.Scene$TouchMap.counter:I
end local 1 10: StackMap locals: javafx.scene.Scene$TouchMap top top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
11: aload 0
getfield javafx.scene.Scene$TouchMap.removed:Ljava/util/List;
invokeinterface java.util.List.clear:()V
12: aload 0
getfield javafx.scene.Scene$TouchMap.active:I
ifne 13
iconst_1
ireturn
StackMap locals: javafx.scene.Scene$TouchMap
StackMap stack:
13: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavafx/scene/Scene$TouchMap;
2 10 1 id J
}
SourceFile: "Scene.java"
NestHost: javafx.scene.Scene
InnerClasses:
private TouchMap = javafx.scene.Scene$TouchMap of javafx.scene.Scene