public class org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream extends org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream
super_class: org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream
{
final org.apache.lucene.spatial.prefix.PrefixTreeStrategy this$0;
descriptor: Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.apache.lucene.spatial.prefix.PrefixTreeStrategy);
descriptor: (Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream this
0: .line 160
aload 0 /* this */
aload 1
putfield org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream.this$0:Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;
aload 0 /* this */
invokespecial org.apache.lucene.spatial.prefix.BytesRefIteratorTokenStream.<init>:()V
return
end local 0 // org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy$ShapeTokenStream;
MethodParameters:
Name Flags
this$0 final
public void setShape(org.locationtech.spatial4j.shape.Shape);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 // org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream this
start local 1 // org.locationtech.spatial4j.shape.Shape shape
0: .line 163
aload 1 /* shape */
aload 0 /* this */
getfield org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream.this$0:Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;
getfield org.apache.lucene.spatial.prefix.PrefixTreeStrategy.distErrPct:D
aload 0 /* this */
getfield org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream.this$0:Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;
invokestatic org.apache.lucene.spatial.prefix.PrefixTreeStrategy.access$0:(Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;)Lorg/locationtech/spatial4j/context/SpatialContext;
invokestatic org.apache.lucene.spatial.query.SpatialArgs.calcDistanceFromErrPct:(Lorg/locationtech/spatial4j/shape/Shape;DLorg/locationtech/spatial4j/context/SpatialContext;)D
dstore 2 /* distErr */
start local 2 // double distErr
1: .line 164
aload 0 /* this */
getfield org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream.this$0:Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;
getfield org.apache.lucene.spatial.prefix.PrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
dload 2 /* distErr */
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getLevelForDistance:(D)I
istore 4 /* detailLevel */
start local 4 // int detailLevel
2: .line 165
aload 0 /* this */
getfield org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream.this$0:Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;
aload 1 /* shape */
iload 4 /* detailLevel */
aconst_null
invokevirtual org.apache.lucene.spatial.prefix.PrefixTreeStrategy.createCellIteratorToIndex:(Lorg/locationtech/spatial4j/shape/Shape;ILjava/util/Iterator;)Ljava/util/Iterator;
astore 5 /* cells */
start local 5 // java.util.Iterator cells
3: .line 166
aload 0 /* this */
getfield org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream.this$0:Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;
invokevirtual org.apache.lucene.spatial.prefix.PrefixTreeStrategy.newCellToBytesRefIterator:()Lorg/apache/lucene/spatial/prefix/CellToBytesRefIterator;
astore 6 /* cellToBytesRefIterator */
start local 6 // org.apache.lucene.spatial.prefix.CellToBytesRefIterator cellToBytesRefIterator
4: .line 167
aload 6 /* cellToBytesRefIterator */
aload 5 /* cells */
invokevirtual org.apache.lucene.spatial.prefix.CellToBytesRefIterator.reset:(Ljava/util/Iterator;)V
5: .line 168
aload 0 /* this */
aload 6 /* cellToBytesRefIterator */
invokevirtual org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream.setBytesRefIterator:(Lorg/apache/lucene/util/BytesRefIterator;)Lorg/apache/lucene/spatial/prefix/BytesRefIteratorTokenStream;
pop
6: .line 169
return
end local 6 // org.apache.lucene.spatial.prefix.CellToBytesRefIterator cellToBytesRefIterator
end local 5 // java.util.Iterator cells
end local 4 // int detailLevel
end local 2 // double distErr
end local 1 // org.locationtech.spatial4j.shape.Shape shape
end local 0 // org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy$ShapeTokenStream;
0 7 1 shape Lorg/locationtech/spatial4j/shape/Shape;
1 7 2 distErr D
2 7 4 detailLevel I
3 7 5 cells Ljava/util/Iterator<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
4 7 6 cellToBytesRefIterator Lorg/apache/lucene/spatial/prefix/CellToBytesRefIterator;
MethodParameters:
Name Flags
shape
}
SourceFile: "PrefixTreeStrategy.java"
NestHost: org.apache.lucene.spatial.prefix.PrefixTreeStrategy
InnerClasses:
public ShapeTokenStream = org.apache.lucene.spatial.prefix.PrefixTreeStrategy$ShapeTokenStream of org.apache.lucene.spatial.prefix.PrefixTreeStrategy