public class org.apache.lucene.geo.Rectangle extends org.apache.lucene.geo.LatLonGeometry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.geo.Rectangle
super_class: org.apache.lucene.geo.LatLonGeometry
{
public final double minLat;
descriptor: D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final double minLon;
descriptor: D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final double maxLat;
descriptor: D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final double maxLon;
descriptor: D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public static final double AXISLAT_ERROR;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8.993203677616636E-7
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/geo/Rectangle;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.geo.Rectangle.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(double, double, double, double);
descriptor: (DDDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: aload 0
invokespecial org.apache.lucene.geo.LatLonGeometry.<init>:()V
1: dload 1
invokestatic org.apache.lucene.geo.GeoUtils.checkLatitude:(D)V
2: dload 3
invokestatic org.apache.lucene.geo.GeoUtils.checkLatitude:(D)V
3: dload 5
invokestatic org.apache.lucene.geo.GeoUtils.checkLongitude:(D)V
4: dload 7
invokestatic org.apache.lucene.geo.GeoUtils.checkLongitude:(D)V
5: aload 0
dload 5
putfield org.apache.lucene.geo.Rectangle.minLon:D
6: aload 0
dload 7
putfield org.apache.lucene.geo.Rectangle.maxLon:D
7: aload 0
dload 1
putfield org.apache.lucene.geo.Rectangle.minLat:D
8: aload 0
dload 3
putfield org.apache.lucene.geo.Rectangle.maxLat:D
9: getstatic org.apache.lucene.geo.Rectangle.$assertionsDisabled:Z
ifne 10
dload 3
dload 1
dcmpl
ifge 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: org.apache.lucene.geo.Rectangle double double double double
StackMap stack:
return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/geo/Rectangle;
0 11 1 minLat D
0 11 3 maxLat D
0 11 5 minLon D
0 11 7 maxLon D
MethodParameters:
Name Flags
minLat
maxLat
minLon
maxLon
protected org.apache.lucene.geo.Component2D toComponent2D();
descriptor: ()Lorg/apache/lucene/geo/Component2D;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.lucene.geo.Rectangle2D.create:(Lorg/apache/lucene/geo/Rectangle;)Lorg/apache/lucene/geo/Component2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/geo/Rectangle;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "Rectangle(lat="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield org.apache.lucene.geo.Rectangle.minLat:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc " TO "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.apache.lucene.geo.Rectangle.maxLat:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc " lon="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
getfield org.apache.lucene.geo.Rectangle.minLon:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc " TO "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
getfield org.apache.lucene.geo.Rectangle.maxLon:D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
9: aload 0
getfield org.apache.lucene.geo.Rectangle.maxLon:D
aload 0
getfield org.apache.lucene.geo.Rectangle.minLon:D
dcmpg
ifge 11
10: aload 1
ldc " [crosses dateline!]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/geo/Rectangle;
1 13 1 b Ljava/lang/StringBuilder;
public boolean crossesDateline();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.geo.Rectangle.maxLon:D
aload 0
getfield org.apache.lucene.geo.Rectangle.minLon:D
dcmpg
ifge 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 Lorg/apache/lucene/geo/Rectangle;
public static boolean containsPoint(double, double, double, double, double, double);
descriptor: (DDDDDD)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=12, args_size=6
start local 0 start local 2 start local 4 start local 6 start local 8 start local 10 0: dload 0
dload 4
dcmpl
iflt 1
dload 0
dload 6
dcmpg
ifgt 1
dload 2
dload 8
dcmpl
iflt 1
dload 2
dload 10
dcmpg
ifgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 10 end local 8 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 lat D
0 2 2 lon D
0 2 4 minLat D
0 2 6 maxLat D
0 2 8 minLon D
0 2 10 maxLon D
MethodParameters:
Name Flags
lat final
lon final
minLat final
maxLat final
minLon final
maxLon final
public static org.apache.lucene.geo.Rectangle fromPointDistance(double, double, double);
descriptor: (DDD)Lorg/apache/lucene/geo/Rectangle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=22, args_size=3
start local 0 start local 2 start local 4 0: dload 0
invokestatic org.apache.lucene.geo.GeoUtils.checkLatitude:(D)V
1: dload 2
invokestatic org.apache.lucene.geo.GeoUtils.checkLongitude:(D)V
2: dload 0
invokestatic org.apache.lucene.util.SloppyMath.toRadians:(D)D
dstore 6
start local 6 3: dload 2
invokestatic org.apache.lucene.util.SloppyMath.toRadians:(D)D
dstore 8
start local 8 4: dload 4
ldc 0.07
dadd
ldc 6371008.7714
ddiv
dstore 10
start local 10 5: dload 6
dload 10
dsub
dstore 12
start local 12 6: dload 6
dload 10
dadd
dstore 14
start local 14 7: dload 12
ldc -1.5707963267948966
dcmpl
ifle 16
dload 14
ldc 1.5707963267948966
dcmpg
ifge 16
8: dload 10
invokestatic org.apache.lucene.geo.GeoUtils.sloppySin:(D)D
dload 6
invokestatic org.apache.lucene.util.SloppyMath.cos:(D)D
ddiv
invokestatic org.apache.lucene.util.SloppyMath.asin:(D)D
dstore 20
start local 20 9: dload 8
dload 20
dsub
dstore 16
start local 16 10: dload 16
ldc -3.141592653589793
dcmpg
ifge 12
11: dload 16
ldc 6.283185307179586
dadd
dstore 16
12: StackMap locals: double double double double double double double double double top top double
StackMap stack:
dload 8
dload 20
dadd
dstore 18
start local 18 13: dload 18
ldc 3.141592653589793
dcmpl
ifle 20
14: dload 18
ldc 6.283185307179586
dsub
dstore 18
end local 20 15: goto 20
end local 18 end local 16 16: StackMap locals: double double double double double double double double
StackMap stack:
dload 12
ldc -1.5707963267948966
invokestatic java.lang.Math.max:(DD)D
dstore 12
17: dload 14
ldc 1.5707963267948966
invokestatic java.lang.Math.min:(DD)D
dstore 14
18: ldc -3.141592653589793
dstore 16
start local 16 19: ldc 3.141592653589793
dstore 18
start local 18 20: StackMap locals: double double
StackMap stack:
new org.apache.lucene.geo.Rectangle
dup
dload 12
invokestatic org.apache.lucene.util.SloppyMath.toDegrees:(D)D
dload 14
invokestatic org.apache.lucene.util.SloppyMath.toDegrees:(D)D
dload 16
invokestatic org.apache.lucene.util.SloppyMath.toDegrees:(D)D
dload 18
invokestatic org.apache.lucene.util.SloppyMath.toDegrees:(D)D
invokespecial org.apache.lucene.geo.Rectangle.<init>:(DDDD)V
areturn
end local 18 end local 16 end local 14 end local 12 end local 10 end local 8 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 centerLat D
0 21 2 centerLon D
0 21 4 radiusMeters D
3 21 6 radLat D
4 21 8 radLon D
5 21 10 radDistance D
6 21 12 minLat D
7 21 14 maxLat D
10 16 16 minLon D
19 21 16 minLon D
13 16 18 maxLon D
20 21 18 maxLon D
9 15 20 deltaLon D
MethodParameters:
Name Flags
centerLat final
centerLon final
radiusMeters final
public static double axisLat(double, double);
descriptor: (DD)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 2 0: dload 0
invokestatic org.apache.lucene.util.SloppyMath.toRadians:(D)D
dstore 4
start local 4 1: dload 2
ldc 0.07
dadd
ldc 6371008.7714
ddiv
dstore 6
start local 6 2: dload 4
invokestatic java.lang.Math.abs:(D)D
dload 6
dadd
ldc 1.5707963267948966
dcmpl
iflt 6
3: dload 0
dconst_0
dcmpl
iflt 4
ldc 90.0
goto 5
StackMap locals: double double
StackMap stack:
4: ldc -90.0
StackMap locals:
StackMap stack: double
5: dreturn
6: StackMap locals:
StackMap stack:
dload 0
dconst_0
dcmpl
iflt 7
ldc 1.5707963267948966
dload 4
dsub
goto 8
StackMap locals:
StackMap stack:
7: dload 4
ldc 1.5707963267948966
dadd
StackMap locals:
StackMap stack: double
8: dstore 4
9: dload 4
invokestatic java.lang.Math.cos:(D)D
dload 6
invokestatic java.lang.Math.cos:(D)D
ddiv
invokestatic java.lang.Math.acos:(D)D
dstore 8
start local 8 10: getstatic org.apache.lucene.geo.Rectangle.$assertionsDisabled:Z
ifne 11
dload 8
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: double
StackMap stack:
dload 0
dconst_0
dcmpl
iflt 12
ldc 1.5707963267948966
dload 8
dsub
goto 13
StackMap locals:
StackMap stack:
12: dload 8
ldc 1.5707963267948966
dsub
StackMap locals:
StackMap stack: double
13: dstore 8
14: dload 8
invokestatic org.apache.lucene.util.SloppyMath.toDegrees:(D)D
dreturn
end local 8 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 centerLat D
0 15 2 radiusMeters D
1 15 4 l1 D
2 15 6 r D
10 15 8 l2 D
MethodParameters:
Name Flags
centerLat
radiusMeters
public static org.apache.lucene.geo.Rectangle fromPolygon(org.apache.lucene.geo.Polygon[]);
descriptor: ([Lorg/apache/lucene/geo/Polygon;)Lorg/apache/lucene/geo/Rectangle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=10, args_size=1
start local 0 0: ldc Infinity
dstore 1
start local 1 1: ldc -Infinity
dstore 3
start local 3 2: ldc Infinity
dstore 5
start local 5 3: ldc -Infinity
dstore 7
start local 7 4: iconst_0
istore 9
start local 9 5: goto 11
6: StackMap locals: org.apache.lucene.geo.Polygon[] double double double double int
StackMap stack:
aload 0
iload 9
aaload
getfield org.apache.lucene.geo.Polygon.minLat:D
dload 1
invokestatic java.lang.Math.min:(DD)D
dstore 1
7: aload 0
iload 9
aaload
getfield org.apache.lucene.geo.Polygon.maxLat:D
dload 3
invokestatic java.lang.Math.max:(DD)D
dstore 3
8: aload 0
iload 9
aaload
getfield org.apache.lucene.geo.Polygon.minLon:D
dload 5
invokestatic java.lang.Math.min:(DD)D
dstore 5
9: aload 0
iload 9
aaload
getfield org.apache.lucene.geo.Polygon.maxLon:D
dload 7
invokestatic java.lang.Math.max:(DD)D
dstore 7
10: iinc 9 1
StackMap locals:
StackMap stack:
11: iload 9
aload 0
arraylength
if_icmplt 6
end local 9 12: new org.apache.lucene.geo.Rectangle
dup
dload 1
dload 3
dload 5
dload 7
invokespecial org.apache.lucene.geo.Rectangle.<init>:(DDDD)V
areturn
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 polygons [Lorg/apache/lucene/geo/Polygon;
1 13 1 minLat D
2 13 3 maxLat D
3 13 5 minLon D
4 13 7 maxLon D
5 12 9 i I
MethodParameters:
Name Flags
polygons
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 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.lucene.geo.Rectangle
astore 2
start local 2 4: aload 2
getfield org.apache.lucene.geo.Rectangle.minLat:D
aload 0
getfield org.apache.lucene.geo.Rectangle.minLat:D
invokestatic java.lang.Double.compare:(DD)I
ifeq 5
iconst_0
ireturn
5: StackMap locals: org.apache.lucene.geo.Rectangle
StackMap stack:
aload 2
getfield org.apache.lucene.geo.Rectangle.minLon:D
aload 0
getfield org.apache.lucene.geo.Rectangle.minLon:D
invokestatic java.lang.Double.compare:(DD)I
ifeq 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.geo.Rectangle.maxLat:D
aload 0
getfield org.apache.lucene.geo.Rectangle.maxLat:D
invokestatic java.lang.Double.compare:(DD)I
ifeq 7
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.geo.Rectangle.maxLon:D
aload 0
getfield org.apache.lucene.geo.Rectangle.maxLon:D
invokestatic java.lang.Double.compare:(DD)I
ifne 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/geo/Rectangle;
0 9 1 o Ljava/lang/Object;
4 9 2 rectangle Lorg/apache/lucene/geo/Rectangle;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.geo.Rectangle.minLat:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lstore 2
start local 2 1: lload 2
lload 2
bipush 32
lushr
lxor
l2i
istore 1
start local 1 2: aload 0
getfield org.apache.lucene.geo.Rectangle.minLon:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lstore 2
3: bipush 31
iload 1
imul
lload 2
lload 2
bipush 32
lushr
lxor
l2i
iadd
istore 1
4: aload 0
getfield org.apache.lucene.geo.Rectangle.maxLat:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lstore 2
5: bipush 31
iload 1
imul
lload 2
lload 2
bipush 32
lushr
lxor
l2i
iadd
istore 1
6: aload 0
getfield org.apache.lucene.geo.Rectangle.maxLon:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lstore 2
7: bipush 31
iload 1
imul
lload 2
lload 2
bipush 32
lushr
lxor
l2i
iadd
istore 1
8: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/geo/Rectangle;
2 9 1 result I
1 9 2 temp J
}
SourceFile: "Rectangle.java"