class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1 extends org.apache.lucene.search.DoubleValues
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1
super_class: org.apache.lucene.search.DoubleValues
{
private final org.apache.lucene.spatial.util.ShapeFieldCache<org.locationtech.spatial4j.shape.Point> cache;
descriptor: Lorg/apache/lucene/spatial/util/ShapeFieldCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/lucene/spatial/util/ShapeFieldCache<Lorg/locationtech/spatial4j/shape/Point;>;
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
private java.util.List<org.locationtech.spatial4j.shape.Point> currentVals;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/locationtech/spatial4j/shape/Point;>;
final org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource this$0;
descriptor: Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource, org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource;Lorg/apache/lucene/index/LeafReaderContext;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.this$0:Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource;
aload 0
invokespecial org.apache.lucene.search.DoubleValues.<init>:()V
1: aload 0
2: aload 1
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.provider:Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider;
aload 2
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
invokevirtual org.apache.lucene.spatial.util.ShapeFieldCacheProvider.getCache:(Lorg/apache/lucene/index/LeafReader;)Lorg/apache/lucene/spatial/util/ShapeFieldCache;
putfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.cache:Lorg/apache/lucene/spatial/util/ShapeFieldCache;
3: aload 0
aload 1
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
putfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.from:Lorg/locationtech/spatial4j/shape/Point;
4: aload 0
aload 1
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getDistCalc:()Lorg/locationtech/spatial4j/distance/DistanceCalculator;
putfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.calculator:Lorg/locationtech/spatial4j/distance/DistanceCalculator;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource$1;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
this$0 final
val$readerContext final
public double doubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.calculator:Lorg/locationtech/spatial4j/distance/DistanceCalculator;
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.from:Lorg/locationtech/spatial4j/shape/Point;
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.currentVals:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.locationtech.spatial4j.shape.Point
invokeinterface org.locationtech.spatial4j.distance.DistanceCalculator.distance:(Lorg/locationtech/spatial4j/shape/Point;Lorg/locationtech/spatial4j/shape/Point;)D
dstore 1
start local 1 1: iconst_1
istore 3
start local 3 2: goto 5
3: StackMap locals: double int
StackMap stack:
dload 1
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.calculator:Lorg/locationtech/spatial4j/distance/DistanceCalculator;
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.from:Lorg/locationtech/spatial4j/shape/Point;
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.currentVals:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.locationtech.spatial4j.shape.Point
invokeinterface org.locationtech.spatial4j.distance.DistanceCalculator.distance:(Lorg/locationtech/spatial4j/shape/Point;Lorg/locationtech/spatial4j/shape/Point;)D
invokestatic java.lang.Math.min:(DD)D
dstore 1
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.currentVals:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 3 6: dload 1
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.this$0:Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource;
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.multiplier:D
dmul
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource$1;
1 7 1 v D
2 6 3 i I
Exceptions:
throws java.io.IOException
public boolean advanceExact(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.cache:Lorg/apache/lucene/spatial/util/ShapeFieldCache;
iload 1
invokevirtual org.apache.lucene.spatial.util.ShapeFieldCache.getShapes:(I)Ljava/util/List;
putfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.currentVals:Ljava/util/List;
1: aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.currentVals:Ljava/util/List;
ifnull 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource$1;
0 3 1 doc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
doc
}
SourceFile: "ShapeFieldCacheDistanceValueSource.java"
EnclosingMethod: org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.getValues:(Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/search/DoubleValues;)Lorg/apache/lucene/search/DoubleValues;
NestHost: org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
InnerClasses:
org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1