public class com.sun.javafx.geom.Point2D
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.geom.Point2D
super_class: java.lang.Object
{
public float x;
descriptor: F
flags: (0x0001) ACC_PUBLIC
public float y;
descriptor: F
flags: (0x0001) ACC_PUBLIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/geom/Point2D;
public void <init>(float, float);
descriptor: (FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
fload 1
putfield com.sun.javafx.geom.Point2D.x:F
2: aload 0
fload 2
putfield com.sun.javafx.geom.Point2D.y:F
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/geom/Point2D;
0 4 1 x F
0 4 2 y F
MethodParameters:
Name Flags
x
y
public void setLocation(float, float);
descriptor: (FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
fload 1
putfield com.sun.javafx.geom.Point2D.x:F
1: aload 0
fload 2
putfield com.sun.javafx.geom.Point2D.y:F
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/geom/Point2D;
0 3 1 x F
0 3 2 y F
MethodParameters:
Name Flags
x
y
public void setLocation(com.sun.javafx.geom.Point2D);
descriptor: (Lcom/sun/javafx/geom/Point2D;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.sun.javafx.geom.Point2D.x:F
aload 1
getfield com.sun.javafx.geom.Point2D.y:F
invokevirtual com.sun.javafx.geom.Point2D.setLocation:(FF)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/geom/Point2D;
0 2 1 p Lcom/sun/javafx/geom/Point2D;
MethodParameters:
Name Flags
p
public static float distanceSq(float, float, float, float);
descriptor: (FFFF)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: fload 0
fload 2
fsub
fstore 0
1: fload 1
fload 3
fsub
fstore 1
2: fload 0
fload 0
fmul
fload 1
fload 1
fmul
fadd
freturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x1 F
0 3 1 y1 F
0 3 2 x2 F
0 3 3 y2 F
MethodParameters:
Name Flags
x1
y1
x2
y2
public static float distance(float, float, float, float);
descriptor: (FFFF)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: fload 0
fload 2
fsub
fstore 0
1: fload 1
fload 3
fsub
fstore 1
2: fload 0
fload 0
fmul
fload 1
fload 1
fmul
fadd
f2d
invokestatic java.lang.Math.sqrt:(D)D
d2f
freturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x1 F
0 3 1 y1 F
0 3 2 x2 F
0 3 3 y2 F
MethodParameters:
Name Flags
x1
y1
x2
y2
public float distanceSq(float, float);
descriptor: (FF)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: fload 1
aload 0
getfield com.sun.javafx.geom.Point2D.x:F
fsub
fstore 1
1: fload 2
aload 0
getfield com.sun.javafx.geom.Point2D.y:F
fsub
fstore 2
2: fload 1
fload 1
fmul
fload 2
fload 2
fmul
fadd
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/geom/Point2D;
0 3 1 px F
0 3 2 py F
MethodParameters:
Name Flags
px
py
public float distanceSq(com.sun.javafx.geom.Point2D);
descriptor: (Lcom/sun/javafx/geom/Point2D;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.javafx.geom.Point2D.x:F
aload 0
getfield com.sun.javafx.geom.Point2D.x:F
fsub
fstore 2
start local 2 1: aload 1
getfield com.sun.javafx.geom.Point2D.y:F
aload 0
getfield com.sun.javafx.geom.Point2D.y:F
fsub
fstore 3
start local 3 2: fload 2
fload 2
fmul
fload 3
fload 3
fmul
fadd
freturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/geom/Point2D;
0 3 1 pt Lcom/sun/javafx/geom/Point2D;
1 3 2 px F
2 3 3 py F
MethodParameters:
Name Flags
pt
public float distance(float, float);
descriptor: (FF)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: fload 1
aload 0
getfield com.sun.javafx.geom.Point2D.x:F
fsub
fstore 1
1: fload 2
aload 0
getfield com.sun.javafx.geom.Point2D.y:F
fsub
fstore 2
2: fload 1
fload 1
fmul
fload 2
fload 2
fmul
fadd
f2d
invokestatic java.lang.Math.sqrt:(D)D
d2f
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/geom/Point2D;
0 3 1 px F
0 3 2 py F
MethodParameters:
Name Flags
px
py
public float distance(com.sun.javafx.geom.Point2D);
descriptor: (Lcom/sun/javafx/geom/Point2D;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.javafx.geom.Point2D.x:F
aload 0
getfield com.sun.javafx.geom.Point2D.x:F
fsub
fstore 2
start local 2 1: aload 1
getfield com.sun.javafx.geom.Point2D.y:F
aload 0
getfield com.sun.javafx.geom.Point2D.y:F
fsub
fstore 3
start local 3 2: fload 2
fload 2
fmul
fload 3
fload 3
fmul
fadd
f2d
invokestatic java.lang.Math.sqrt:(D)D
d2f
freturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/geom/Point2D;
0 3 1 pt Lcom/sun/javafx/geom/Point2D;
1 3 2 px F
2 3 3 py F
MethodParameters:
Name Flags
pt
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.geom.Point2D.x:F
invokestatic java.lang.Float.floatToIntBits:(F)I
istore 1
start local 1 1: iload 1
aload 0
getfield com.sun.javafx.geom.Point2D.y:F
invokestatic java.lang.Float.floatToIntBits:(F)I
bipush 31
imul
ixor
istore 1
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/geom/Point2D;
1 3 1 bits I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.javafx.geom.Point2D
ifeq 5
2: aload 1
checkcast com.sun.javafx.geom.Point2D
astore 2
start local 2 3: aload 0
getfield com.sun.javafx.geom.Point2D.x:F
aload 2
getfield com.sun.javafx.geom.Point2D.x:F
fcmpl
ifne 4
aload 0
getfield com.sun.javafx.geom.Point2D.y:F
aload 2
getfield com.sun.javafx.geom.Point2D.y:F
fcmpl
ifne 4
iconst_1
ireturn
StackMap locals: com.sun.javafx.geom.Point2D
StackMap stack:
4: iconst_0
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/geom/Point2D;
0 6 1 obj Ljava/lang/Object;
3 5 2 p2d Lcom/sun/javafx/geom/Point2D;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Point2D["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.javafx.geom.Point2D.x:F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.javafx.geom.Point2D.y:F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/geom/Point2D;
}
SourceFile: "Point2D.java"