public class org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree extends org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
super_class: org.apache.lucene.spatial.prefix.tree.QuadPrefixTree
{
public static final int MAX_LEVELS_POSSIBLE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 29
protected static final byte[] QUAD;
descriptor: [B
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected boolean leafyPrune;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_4
newarray 8
dup
iconst_1
iconst_1
bastore
dup
iconst_2
iconst_2
bastore
dup
iconst_3
iconst_3
bastore
putstatic org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.QUAD:[B
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.locationtech.spatial4j.context.SpatialContext, int);
descriptor: (Lorg/locationtech/spatial4j/context/SpatialContext;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.<init>:(Lorg/locationtech/spatial4j/context/SpatialContext;I)V
1: aload 0
iconst_1
putfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.leafyPrune:Z
2: iload 2
bipush 29
if_icmple 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "maxLevels of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " exceeds limit of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 29
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree org.locationtech.spatial4j.context.SpatialContext int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;
0 5 1 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
0 5 2 maxLevels I
MethodParameters:
Name Flags
ctx
maxLevels
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
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "(maxLevels:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.maxLevels:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",ctx:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ",prune:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.leafyPrune:Z
invokevirtual java.lang.StringBuilder.append:(Z)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/prefix/tree/PackedQuadPrefixTree;
public org.apache.lucene.spatial.prefix.tree.Cell getWorldCell();
descriptor: ()Lorg/apache/lucene/spatial/prefix/tree/Cell;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell
dup
aload 0
lconst_0
invokespecial org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell.<init>:(Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;
public org.apache.lucene.spatial.prefix.tree.Cell getCell(org.locationtech.spatial4j.shape.Point, int);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;I)Lorg/apache/lucene/spatial/prefix/tree/Cell;
flags: (0x0001) ACC_PUBLIC
Code:
stack=14, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 1: aload 0
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.xmid:D
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.ymid:D
iconst_0
aload 3
lconst_0
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getX:()D
aload 1
invokeinterface org.locationtech.spatial4j.shape.Point.getY:()D
invokevirtual org.locationtech.spatial4j.context.SpatialContext.makePoint:(DD)Lorg/locationtech/spatial4j/shape/Point;
iload 2
invokevirtual org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.build:(DDILjava/util/List;JLorg/locationtech/spatial4j/shape/Shape;I)V
2: aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.spatial.prefix.tree.Cell
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;
0 3 1 p Lorg/locationtech/spatial4j/shape/Point;
0 3 2 level I
1 3 3 cells Ljava/util/List<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
MethodParameters:
Name Flags
p
level
protected void build(double, double, int, java.util.List<org.apache.lucene.spatial.prefix.tree.Cell>, long, org.locationtech.spatial4j.shape.Shape, );
descriptor: (DDILjava/util/List;JLorg/locationtech/spatial4j/shape/Shape;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=15, args_size=8
start local 0 start local 1 start local 3 start local 5 start local 6 start local 7 start local 9 start local 10 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.levelW:[D
iload 5
daload
ldc 2.0
ddiv
dstore 11
start local 11 1: aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.levelH:[D
iload 5
daload
ldc 2.0
ddiv
dstore 13
start local 13 2: aload 0
getstatic org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.QUAD:[B
iconst_0
baload
dload 1
dload 11
dsub
dload 3
dload 13
dadd
iload 5
aload 6
lload 7
aload 9
iload 10
invokevirtual org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.checkBattenberg:(BDDILjava/util/List;JLorg/locationtech/spatial4j/shape/Shape;I)V
3: aload 0
getstatic org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.QUAD:[B
iconst_1
baload
dload 1
dload 11
dadd
dload 3
dload 13
dadd
iload 5
aload 6
lload 7
aload 9
iload 10
invokevirtual org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.checkBattenberg:(BDDILjava/util/List;JLorg/locationtech/spatial4j/shape/Shape;I)V
4: aload 0
getstatic org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.QUAD:[B
iconst_2
baload
dload 1
dload 11
dsub
dload 3
dload 13
dsub
iload 5
aload 6
lload 7
aload 9
iload 10
invokevirtual org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.checkBattenberg:(BDDILjava/util/List;JLorg/locationtech/spatial4j/shape/Shape;I)V
5: aload 0
getstatic org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.QUAD:[B
iconst_3
baload
dload 1
dload 11
dadd
dload 3
dload 13
dsub
iload 5
aload 6
lload 7
aload 9
iload 10
invokevirtual org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.checkBattenberg:(BDDILjava/util/List;JLorg/locationtech/spatial4j/shape/Shape;I)V
6: return
end local 13 end local 11 end local 10 end local 9 end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;
0 7 1 x D
0 7 3 y D
0 7 5 level I
0 7 6 matches Ljava/util/List<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
0 7 7 term J
0 7 9 shape Lorg/locationtech/spatial4j/shape/Shape;
0 7 10 maxLevel I
1 7 11 w D
2 7 13 h D
Signature: (DDILjava/util/List<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;JLorg/locationtech/spatial4j/shape/Shape;I)V
MethodParameters:
Name Flags
x
y
level
matches
term
shape
maxLevel
protected void checkBattenberg(byte, double, double, int, java.util.List<org.apache.lucene.spatial.prefix.tree.Cell>, long, org.locationtech.spatial4j.shape.Shape, );
descriptor: (BDDILjava/util/List;JLorg/locationtech/spatial4j/shape/Shape;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=17, args_size=9
start local 0 start local 1 start local 2 start local 4 start local 6 start local 7 start local 8 start local 10 start local 11 0: aload 10
instanceof org.locationtech.spatial4j.shape.Point
ifeq 2
aload 7
invokeinterface java.util.List.isEmpty:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.levelW:[D
iload 6
daload
ldc 2.0
ddiv
dstore 12
start local 12 3: aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.levelH:[D
iload 6
daload
ldc 2.0
ddiv
dstore 14
start local 14 4: aload 10
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
dload 2
dload 12
dsub
dload 2
dload 12
dadd
dload 4
dload 14
dsub
dload 4
dload 14
dadd
invokevirtual org.locationtech.spatial4j.context.SpatialContext.makeRectangle:(DDDD)Lorg/locationtech/spatial4j/shape/Rectangle;
invokeinterface org.locationtech.spatial4j.shape.Shape.relate:(Lorg/locationtech/spatial4j/shape/Shape;)Lorg/locationtech/spatial4j/shape/SpatialRelation;
astore 16
start local 16 5: getstatic org.locationtech.spatial4j.shape.SpatialRelation.DISJOINT:Lorg/locationtech/spatial4j/shape/SpatialRelation;
aload 16
if_acmpne 7
6: return
7: StackMap locals: double double org.locationtech.spatial4j.shape.SpatialRelation
StackMap stack:
lload 8
iload 1
i2l
bipush 64
iinc 6 1
iload 6
iconst_1
ishl
isub
lshl
lor
lstore 8
8: lload 8
iconst_1
lushr
lconst_1
ladd
iconst_1
lshl
lstore 8
9: getstatic org.locationtech.spatial4j.shape.SpatialRelation.CONTAINS:Lorg/locationtech/spatial4j/shape/SpatialRelation;
aload 16
if_acmpeq 10
iload 6
iload 11
if_icmplt 12
10: StackMap locals:
StackMap stack:
aload 7
new org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell
dup
aload 0
lload 8
aload 16
invokevirtual org.locationtech.spatial4j.shape.SpatialRelation.transpose:()Lorg/locationtech/spatial4j/shape/SpatialRelation;
invokespecial org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell.<init>:(Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;JLorg/locationtech/spatial4j/shape/SpatialRelation;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
dload 2
dload 4
iload 6
aload 7
lload 8
aload 10
iload 11
invokevirtual org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.build:(DDILjava/util/List;JLorg/locationtech/spatial4j/shape/Shape;I)V
13: StackMap locals:
StackMap stack:
return
end local 16 end local 14 end local 12 end local 11 end local 10 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;
0 14 1 quad B
0 14 2 cx D
0 14 4 cy D
0 14 6 level I
0 14 7 matches Ljava/util/List<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
0 14 8 term J
0 14 10 shape Lorg/locationtech/spatial4j/shape/Shape;
0 14 11 maxLevel I
3 14 12 w D
4 14 14 h D
5 14 16 v Lorg/locationtech/spatial4j/shape/SpatialRelation;
Signature: (BDDILjava/util/List<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;JLorg/locationtech/spatial4j/shape/Shape;I)V
MethodParameters:
Name Flags
quad
cx
cy
level
matches
term
shape
maxLevel
public org.apache.lucene.spatial.prefix.tree.Cell readCell(org.apache.lucene.util.BytesRef, org.apache.lucene.spatial.prefix.tree.Cell);
descriptor: (Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/spatial/prefix/tree/Cell;)Lorg/apache/lucene/spatial/prefix/tree/Cell;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.getWorldCell:()Lorg/apache/lucene/spatial/prefix/tree/Cell;
checkcast org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell
astore 3
3: StackMap locals: org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell
StackMap stack:
aload 3
aload 1
invokevirtual org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell.readCell:(Lorg/apache/lucene/util/BytesRef;)V
4: aload 3
areturn
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/spatial/prefix/tree/PackedQuadPrefixTree;
0 5 1 term Lorg/apache/lucene/util/BytesRef;
0 5 2 scratch Lorg/apache/lucene/spatial/prefix/tree/Cell;
1 5 3 cell Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree$PackedQuadCell;
MethodParameters:
Name Flags
term
scratch
public org.apache.lucene.spatial.prefix.tree.CellIterator getTreeCellIterator(org.locationtech.spatial4j.shape.Shape, int);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;I)Lorg/apache/lucene/spatial/prefix/tree/CellIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.maxLevels:I
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "detailLevel:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " exceed max: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.maxLevels:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PrefixTreeIterator
dup
aload 0
aload 1
iload 2
i2s
invokespecial org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PrefixTreeIterator.<init>:(Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;Lorg/locationtech/spatial4j/shape/Shape;S)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;
0 3 1 shape Lorg/locationtech/spatial4j/shape/Shape;
0 3 2 detailLevel I
MethodParameters:
Name Flags
shape
detailLevel
public boolean isPruneLeafyBranches();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.leafyPrune:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;
public void setPruneLeafyBranches(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree.leafyPrune:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/prefix/tree/PackedQuadPrefixTree;
0 2 1 pruneLeafyBranches Z
MethodParameters:
Name Flags
pruneLeafyBranches
public double getDistanceForLevel(int);
descriptor: (I)D
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokespecial org.apache.lucene.spatial.prefix.tree.QuadPrefixTree.getDistanceForLevel:(I)D
dreturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "PackedQuadPrefixTree.java"
NestMembers:
org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$Factory org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PrefixTreeIterator
InnerClasses:
public Factory = org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$Factory of org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
protected PackedQuadCell = org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PackedQuadCell of org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree
protected PrefixTreeIterator = org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree$PrefixTreeIterator of org.apache.lucene.spatial.prefix.tree.PackedQuadPrefixTree