public abstract class java.awt.geom.Point2D implements java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.awt.geom.Point2D
super_class: java.lang.Object
{
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/geom/Point2D;
public abstract double getX();
descriptor: ()D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract double getY();
descriptor: ()D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setLocation(double, double);
descriptor: (DD)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
x
y
public void setLocation(java.awt.geom.Point2D);
descriptor: (Ljava/awt/geom/Point2D;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.geom.Point2D.getX:()D
aload 1
invokevirtual java.awt.geom.Point2D.getY:()D
invokevirtual java.awt.geom.Point2D.setLocation:(DD)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/geom/Point2D;
0 2 1 p Ljava/awt/geom/Point2D;
MethodParameters:
Name Flags
p
public static double distanceSq(double, double, double, double);
descriptor: (DDDD)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 2 start local 4 start local 6 0: dload 0
dload 4
dsub
dstore 0
1: dload 2
dload 6
dsub
dstore 2
2: dload 0
dload 0
dmul
dload 2
dload 2
dmul
dadd
dreturn
end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x1 D
0 3 2 y1 D
0 3 4 x2 D
0 3 6 y2 D
MethodParameters:
Name Flags
x1
y1
x2
y2
public static double distance(double, double, double, double);
descriptor: (DDDD)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 2 start local 4 start local 6 0: dload 0
dload 4
dsub
dstore 0
1: dload 2
dload 6
dsub
dstore 2
2: dload 0
dload 0
dmul
dload 2
dload 2
dmul
dadd
invokestatic java.lang.Math.sqrt:(D)D
dreturn
end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x1 D
0 3 2 y1 D
0 3 4 x2 D
0 3 6 y2 D
MethodParameters:
Name Flags
x1
y1
x2
y2
public double distanceSq(double, double);
descriptor: (DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 3 0: dload 1
aload 0
invokevirtual java.awt.geom.Point2D.getX:()D
dsub
dstore 1
1: dload 3
aload 0
invokevirtual java.awt.geom.Point2D.getY:()D
dsub
dstore 3
2: dload 1
dload 1
dmul
dload 3
dload 3
dmul
dadd
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/geom/Point2D;
0 3 1 px D
0 3 3 py D
MethodParameters:
Name Flags
px
py
public double distanceSq(java.awt.geom.Point2D);
descriptor: (Ljava/awt/geom/Point2D;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.geom.Point2D.getX:()D
aload 0
invokevirtual java.awt.geom.Point2D.getX:()D
dsub
dstore 2
start local 2 1: aload 1
invokevirtual java.awt.geom.Point2D.getY:()D
aload 0
invokevirtual java.awt.geom.Point2D.getY:()D
dsub
dstore 4
start local 4 2: dload 2
dload 2
dmul
dload 4
dload 4
dmul
dadd
dreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/geom/Point2D;
0 3 1 pt Ljava/awt/geom/Point2D;
1 3 2 px D
2 3 4 py D
MethodParameters:
Name Flags
pt
public double distance(double, double);
descriptor: (DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 3 0: dload 1
aload 0
invokevirtual java.awt.geom.Point2D.getX:()D
dsub
dstore 1
1: dload 3
aload 0
invokevirtual java.awt.geom.Point2D.getY:()D
dsub
dstore 3
2: dload 1
dload 1
dmul
dload 3
dload 3
dmul
dadd
invokestatic java.lang.Math.sqrt:(D)D
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/geom/Point2D;
0 3 1 px D
0 3 3 py D
MethodParameters:
Name Flags
px
py
public double distance(java.awt.geom.Point2D);
descriptor: (Ljava/awt/geom/Point2D;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.geom.Point2D.getX:()D
aload 0
invokevirtual java.awt.geom.Point2D.getX:()D
dsub
dstore 2
start local 2 1: aload 1
invokevirtual java.awt.geom.Point2D.getY:()D
aload 0
invokevirtual java.awt.geom.Point2D.getY:()D
dsub
dstore 4
start local 4 2: dload 2
dload 2
dmul
dload 4
dload 4
dmul
dadd
invokestatic java.lang.Math.sqrt:(D)D
dreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/geom/Point2D;
0 3 1 pt Ljava/awt/geom/Point2D;
1 3 2 px D
2 3 4 py D
MethodParameters:
Name Flags
pt
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 3: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/geom/Point2D;
3 4 1 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 1 2 Class java.lang.CloneNotSupportedException
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.geom.Point2D.getX:()D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lstore 1
start local 1 1: lload 1
aload 0
invokevirtual java.awt.geom.Point2D.getY:()D
invokestatic java.lang.Double.doubleToLongBits:(D)J
ldc 31
lmul
lxor
lstore 1
2: lload 1
l2i
lload 1
bipush 32
lshr
l2i
ixor
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/geom/Point2D;
1 3 1 bits J
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.geom.Point2D
ifeq 4
1: aload 1
checkcast java.awt.geom.Point2D
astore 2
start local 2 2: aload 0
invokevirtual java.awt.geom.Point2D.getX:()D
aload 2
invokevirtual java.awt.geom.Point2D.getX:()D
dcmpl
ifne 3
aload 0
invokevirtual java.awt.geom.Point2D.getY:()D
aload 2
invokevirtual java.awt.geom.Point2D.getY:()D
dcmpl
ifne 3
iconst_1
ireturn
StackMap locals: java.awt.geom.Point2D
StackMap stack:
3: iconst_0
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/geom/Point2D;
0 5 1 obj Ljava/lang/Object;
2 4 2 p2d Ljava/awt/geom/Point2D;
MethodParameters:
Name Flags
obj
}
SourceFile: "Point2D.java"
NestMembers:
java.awt.geom.Point2D$Double java.awt.geom.Point2D$Float
InnerClasses:
public Double = java.awt.geom.Point2D$Double of java.awt.geom.Point2D
public Float = java.awt.geom.Point2D$Float of java.awt.geom.Point2D