public class org.apache.lucene.spatial.util.DistanceToShapeValueSource extends org.apache.lucene.search.DoubleValuesSource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.util.DistanceToShapeValueSource
super_class: org.apache.lucene.search.DoubleValuesSource
{
private final org.apache.lucene.spatial.ShapeValuesSource shapeValueSource;
descriptor: Lorg/apache/lucene/spatial/ShapeValuesSource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.locationtech.spatial4j.shape.Point queryPoint;
descriptor: Lorg/locationtech/spatial4j/shape/Point;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double multiplier;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.locationtech.spatial4j.distance.DistanceCalculator distCalc;
descriptor: Lorg/locationtech/spatial4j/distance/DistanceCalculator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double nullValue;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.lucene.spatial.ShapeValuesSource, org.locationtech.spatial4j.shape.Point, double, org.locationtech.spatial4j.context.SpatialContext);
descriptor: (Lorg/apache/lucene/spatial/ShapeValuesSource;Lorg/locationtech/spatial4j/shape/Point;DLorg/locationtech/spatial4j/context/SpatialContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
invokespecial org.apache.lucene.search.DoubleValuesSource.<init>:()V
1: aload 0
aload 1
putfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.shapeValueSource:Lorg/apache/lucene/spatial/ShapeValuesSource;
2: aload 0
aload 2
putfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.queryPoint:Lorg/locationtech/spatial4j/shape/Point;
3: aload 0
dload 3
putfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.multiplier:D
4: aload 0
aload 5
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getDistCalc:()Lorg/locationtech/spatial4j/distance/DistanceCalculator;
putfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.distCalc:Lorg/locationtech/spatial4j/distance/DistanceCalculator;
5: aload 0
aload 5
invokevirtual org.locationtech.spatial4j.context.SpatialContext.isGeo:()Z
ifeq 6
ldc 180.0
dload 3
dmul
goto 7
StackMap locals: org.apache.lucene.spatial.util.DistanceToShapeValueSource org.apache.lucene.spatial.ShapeValuesSource org.locationtech.spatial4j.shape.Point double org.locationtech.spatial4j.context.SpatialContext
StackMap stack: org.apache.lucene.spatial.util.DistanceToShapeValueSource
6: ldc 1.7976931348623157E308
StackMap locals: org.apache.lucene.spatial.util.DistanceToShapeValueSource org.apache.lucene.spatial.ShapeValuesSource org.locationtech.spatial4j.shape.Point double org.locationtech.spatial4j.context.SpatialContext
StackMap stack: org.apache.lucene.spatial.util.DistanceToShapeValueSource double
7: putfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.nullValue:D
8: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;
0 9 1 shapeValueSource Lorg/apache/lucene/spatial/ShapeValuesSource;
0 9 2 queryPoint Lorg/locationtech/spatial4j/shape/Point;
0 9 3 multiplier D
0 9 5 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
MethodParameters:
Name Flags
shapeValueSource
queryPoint
multiplier
ctx
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 "distance("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.queryPoint:Lorg/locationtech/spatial4j/shape/Point;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.shapeValueSource:Lorg/apache/lucene/spatial/ShapeValuesSource;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.multiplier:D
invokevirtual java.lang.StringBuilder.append:(D)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 Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;
public org.apache.lucene.search.DoubleValues getValues(org.apache.lucene.index.LeafReaderContext, org.apache.lucene.search.DoubleValues);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/search/DoubleValues;)Lorg/apache/lucene/search/DoubleValues;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.shapeValueSource:Lorg/apache/lucene/spatial/ShapeValuesSource;
aload 1
invokevirtual org.apache.lucene.spatial.ShapeValuesSource.getValues:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/spatial/ShapeValues;
astore 3
start local 3 1: new org.apache.lucene.spatial.util.DistanceToShapeValueSource$1
dup
aload 0
aload 3
invokespecial org.apache.lucene.spatial.util.DistanceToShapeValueSource$1.<init>:(Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;Lorg/apache/lucene/spatial/ShapeValues;)V
2: aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.nullValue:D
3: invokestatic org.apache.lucene.search.DoubleValues.withDefault:(Lorg/apache/lucene/search/DoubleValues;D)Lorg/apache/lucene/search/DoubleValues;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;
0 4 1 readerContext Lorg/apache/lucene/index/LeafReaderContext;
0 4 2 scores Lorg/apache/lucene/search/DoubleValues;
1 4 3 shapeValues Lorg/apache/lucene/spatial/ShapeValues;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
readerContext
scores
public boolean needsScores();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;
public boolean isCacheable(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.shapeValueSource:Lorg/apache/lucene/spatial/ShapeValuesSource;
aload 1
invokevirtual org.apache.lucene.spatial.ShapeValuesSource.isCacheable:(Lorg/apache/lucene/index/LeafReaderContext;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;
0 1 1 ctx Lorg/apache/lucene/index/LeafReaderContext;
MethodParameters:
Name Flags
ctx
public org.apache.lucene.search.DoubleValuesSource rewrite(org.apache.lucene.search.IndexSearcher);
descriptor: (Lorg/apache/lucene/search/IndexSearcher;)Lorg/apache/lucene/search/DoubleValuesSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;
0 1 1 searcher Lorg/apache/lucene/search/IndexSearcher;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
searcher
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.spatial.util.DistanceToShapeValueSource
astore 2
start local 2 4: aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.queryPoint:Lorg/locationtech/spatial4j/shape/Point;
aload 2
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.queryPoint:Lorg/locationtech/spatial4j/shape/Point;
invokeinterface org.locationtech.spatial4j.shape.Point.equals:(Ljava/lang/Object;)Z
ifne 5
iconst_0
ireturn
5: StackMap locals: org.apache.lucene.spatial.util.DistanceToShapeValueSource
StackMap stack:
aload 2
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.multiplier:D
aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.multiplier:D
invokestatic java.lang.Double.compare:(DD)I
ifeq 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.shapeValueSource:Lorg/apache/lucene/spatial/ShapeValuesSource;
aload 2
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.shapeValueSource:Lorg/apache/lucene/spatial/ShapeValuesSource;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 7
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.distCalc:Lorg/locationtech/spatial4j/distance/DistanceCalculator;
aload 2
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.distCalc:Lorg/locationtech/spatial4j/distance/DistanceCalculator;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;
0 9 1 o Ljava/lang/Object;
4 9 2 that Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;
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.spatial.util.DistanceToShapeValueSource.shapeValueSource:Lorg/apache/lucene/spatial/ShapeValuesSource;
invokevirtual java.lang.Object.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.queryPoint:Lorg/locationtech/spatial4j/shape/Point;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
2: aload 0
getfield org.apache.lucene.spatial.util.DistanceToShapeValueSource.multiplier:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lstore 2
start local 2 3: bipush 31
iload 1
imul
lload 2
lload 2
bipush 32
lushr
lxor
l2i
iadd
istore 1
4: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/util/DistanceToShapeValueSource;
1 5 1 result I
3 5 2 temp J
}
SourceFile: "DistanceToShapeValueSource.java"
NestMembers:
org.apache.lucene.spatial.util.DistanceToShapeValueSource$1
InnerClasses:
org.apache.lucene.spatial.util.DistanceToShapeValueSource$1