class org.apache.lucene.spatial.vector.DistanceValueSource$1 extends org.apache.lucene.search.DoubleValues
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.spatial.vector.DistanceValueSource$1
super_class: org.apache.lucene.search.DoubleValues
{
private final org.locationtech.spatial4j.shape.Point from;
descriptor: Lorg/locationtech/spatial4j/shape/Point;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.locationtech.spatial4j.distance.DistanceCalculator calculator;
descriptor: Lorg/locationtech/spatial4j/distance/DistanceCalculator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.lucene.spatial.vector.DistanceValueSource this$0;
descriptor: Lorg/apache/lucene/spatial/vector/DistanceValueSource;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.apache.lucene.index.NumericDocValues val$ptX;
descriptor: Lorg/apache/lucene/index/NumericDocValues;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.apache.lucene.index.NumericDocValues val$ptY;
descriptor: Lorg/apache/lucene/index/NumericDocValues;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.lucene.spatial.vector.DistanceValueSource, org.apache.lucene.index.NumericDocValues, org.apache.lucene.index.NumericDocValues);
descriptor: (Lorg/apache/lucene/spatial/vector/DistanceValueSource;Lorg/apache/lucene/index/NumericDocValues;Lorg/apache/lucene/index/NumericDocValues;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.apache.lucene.spatial.vector.DistanceValueSource$1.this$0:Lorg/apache/lucene/spatial/vector/DistanceValueSource;
aload 0
aload 2
putfield org.apache.lucene.spatial.vector.DistanceValueSource$1.val$ptX:Lorg/apache/lucene/index/NumericDocValues;
aload 0
aload 3
putfield org.apache.lucene.spatial.vector.DistanceValueSource$1.val$ptY:Lorg/apache/lucene/index/NumericDocValues;
aload 0
invokespecial org.apache.lucene.search.DoubleValues.<init>:()V
1: aload 0
aload 1
getfield org.apache.lucene.spatial.vector.DistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
putfield org.apache.lucene.spatial.vector.DistanceValueSource$1.from:Lorg/locationtech/spatial4j/shape/Point;
2: aload 0
aload 1
getfield org.apache.lucene.spatial.vector.DistanceValueSource.strategy:Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.getSpatialContext:()Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getDistCalc:()Lorg/locationtech/spatial4j/distance/DistanceCalculator;
putfield org.apache.lucene.spatial.vector.DistanceValueSource$1.calculator:Lorg/locationtech/spatial4j/distance/DistanceCalculator;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource$1;
MethodParameters:
Name Flags
this$0 final
val$ptX final
val$ptY final
public double doubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource$1.val$ptX:Lorg/apache/lucene/index/NumericDocValues;
invokevirtual org.apache.lucene.index.NumericDocValues.longValue:()J
invokestatic java.lang.Double.longBitsToDouble:(J)D
dstore 1
start local 1 1: aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource$1.val$ptY:Lorg/apache/lucene/index/NumericDocValues;
invokevirtual org.apache.lucene.index.NumericDocValues.longValue:()J
invokestatic java.lang.Double.longBitsToDouble:(J)D
dstore 3
start local 3 2: aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource$1.calculator:Lorg/locationtech/spatial4j/distance/DistanceCalculator;
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource$1.from:Lorg/locationtech/spatial4j/shape/Point;
dload 1
dload 3
invokeinterface org.locationtech.spatial4j.distance.DistanceCalculator.distance:(Lorg/locationtech/spatial4j/shape/Point;DD)D
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource$1.this$0:Lorg/apache/lucene/spatial/vector/DistanceValueSource;
getfield org.apache.lucene.spatial.vector.DistanceValueSource.multiplier:D
dmul
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource$1;
1 3 1 x D
2 3 3 y D
Exceptions:
throws java.io.IOException
public boolean advanceExact(int);
descriptor: (I)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.vector.DistanceValueSource$1.val$ptX:Lorg/apache/lucene/index/NumericDocValues;
iload 1
invokevirtual org.apache.lucene.index.NumericDocValues.advanceExact:(I)Z
ifeq 1
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource$1.val$ptY:Lorg/apache/lucene/index/NumericDocValues;
iload 1
invokevirtual org.apache.lucene.index.NumericDocValues.advanceExact:(I)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource$1;
0 2 1 doc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
doc
}
SourceFile: "DistanceValueSource.java"
EnclosingMethod: org.apache.lucene.spatial.vector.DistanceValueSource.getValues:(Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/search/DoubleValues;)Lorg/apache/lucene/search/DoubleValues;
NestHost: org.apache.lucene.spatial.vector.DistanceValueSource
InnerClasses:
org.apache.lucene.spatial.vector.DistanceValueSource$1