public class org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate extends org.apache.lucene.geo.GeoEncodingUtils$Grid
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate
super_class: org.apache.lucene.geo.GeoEncodingUtils$Grid
{
private final double lat;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double lon;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double distanceKey;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/GeoEncodingUtils;
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.GeoEncodingUtils$DistancePredicate.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(int, int, int, int, int, int, byte[], double, double, double);
descriptor: (IIIIII[BDDD)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=14, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 10 start local 12 0: aload 0
iload 1
iload 2
iload 3
iload 4
iload 5
iload 6
aload 7
invokespecial org.apache.lucene.geo.GeoEncodingUtils$Grid.<init>:(IIIIII[B)V
1: aload 0
dload 8
putfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lat:D
2: aload 0
dload 10
putfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lon:D
3: aload 0
dload 12
putfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.distanceKey:D
4: return
end local 12 end local 10 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/geo/GeoEncodingUtils$DistancePredicate;
0 5 1 latShift I
0 5 2 lonShift I
0 5 3 latBase I
0 5 4 lonBase I
0 5 5 maxLatDelta I
0 5 6 maxLonDelta I
0 5 7 relations [B
0 5 8 lat D
0 5 10 lon D
0 5 12 distanceKey D
MethodParameters:
Name Flags
latShift
lonShift
latBase
lonBase
maxLatDelta
maxLonDelta
relations
lat
lon
distanceKey
public boolean test(int, int);
descriptor: (II)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ldc -2147483648
isub
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.latShift:I
iushr
istore 3
start local 3 1: iload 3
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.latBase:I
if_icmplt 2
iload 3
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.latBase:I
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.maxLatDelta:I
iadd
if_icmplt 3
2: StackMap locals: int
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iload 2
ldc -2147483648
isub
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lonShift:I
iushr
istore 4
start local 4 4: iload 4
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lonBase:I
if_icmpge 6
5: iload 4
iconst_1
bipush 32
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lonShift:I
isub
ishl
iadd
istore 4
6: StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.$assertionsDisabled:Z
ifne 7
iload 4
invokestatic java.lang.Integer.toUnsignedLong:(I)J
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lonBase:I
i2l
lcmp
ifge 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.$assertionsDisabled:Z
ifne 8
iload 4
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lonBase:I
isub
ifge 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lonBase:I
isub
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.maxLonDelta:I
if_icmplt 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.relations:[B
iload 3
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.latBase:I
isub
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.maxLonDelta:I
imul
iload 4
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lonBase:I
isub
iadd
baload
istore 5
start local 5 11: iload 5
getstatic org.apache.lucene.index.PointValues$Relation.CELL_CROSSES_QUERY:Lorg/apache/lucene/index/PointValues$Relation;
invokevirtual org.apache.lucene.index.PointValues$Relation.ordinal:()I
if_icmpne 18
12: iload 1
invokestatic org.apache.lucene.geo.GeoEncodingUtils.decodeLatitude:(I)D
iload 2
invokestatic org.apache.lucene.geo.GeoEncodingUtils.decodeLongitude:(I)D
13: aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lat:D
aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.lon:D
14: invokestatic org.apache.lucene.util.SloppyMath.haversinSortKey:(DDDD)D
15: aload 0
getfield org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate.distanceKey:D
16: dcmpg
ifgt 17
iconst_1
ireturn
StackMap locals: int
StackMap stack:
17: iconst_0
ireturn
18: StackMap locals:
StackMap stack:
iload 5
getstatic org.apache.lucene.index.PointValues$Relation.CELL_INSIDE_QUERY:Lorg/apache/lucene/index/PointValues$Relation;
invokevirtual org.apache.lucene.index.PointValues$Relation.ordinal:()I
if_icmpne 19
iconst_1
ireturn
StackMap locals:
StackMap stack:
19: iconst_0
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/lucene/geo/GeoEncodingUtils$DistancePredicate;
0 20 1 lat I
0 20 2 lon I
1 20 3 lat2 I
4 20 4 lon2 I
11 20 5 relation I
MethodParameters:
Name Flags
lat
lon
}
SourceFile: "GeoEncodingUtils.java"
NestHost: org.apache.lucene.geo.GeoEncodingUtils
InnerClasses:
public DistancePredicate = org.apache.lucene.geo.GeoEncodingUtils$DistancePredicate of org.apache.lucene.geo.GeoEncodingUtils
private Grid = org.apache.lucene.geo.GeoEncodingUtils$Grid of org.apache.lucene.geo.GeoEncodingUtils
public final Relation = org.apache.lucene.index.PointValues$Relation of org.apache.lucene.index.PointValues