public abstract class org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree
super_class: java.lang.Object
{
protected final int maxLevels;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.locationtech.spatial4j.context.SpatialContext ctx;
descriptor: Lorg/locationtech/spatial4j/context/SpatialContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.$assertionsDisabled:Z
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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.$assertionsDisabled:Z
ifne 2
iload 2
ifgt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree org.locationtech.spatial4j.context.SpatialContext int
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
3: aload 0
iload 2
putfield org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.maxLevels:I
4: 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/SpatialPrefixTree;
0 5 1 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
0 5 2 maxLevels I
MethodParameters:
Name Flags
ctx
maxLevels
public org.locationtech.spatial4j.context.SpatialContext getSpatialContext();
descriptor: ()Lorg/locationtech/spatial4j/context/SpatialContext;
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.SpatialPrefixTree.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
public int getMaxLevels();
descriptor: ()I
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.SpatialPrefixTree.maxLevels:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
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.SpatialPrefixTree.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.SpatialPrefixTree.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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/SpatialPrefixTree;
public abstract int getLevelForDistance(double);
descriptor: (D)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
dist
public abstract double getDistanceForLevel(int);
descriptor: (I)D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
level
public abstract org.apache.lucene.spatial.prefix.tree.Cell getWorldCell();
descriptor: ()Lorg/apache/lucene/spatial/prefix/tree/Cell;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract 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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
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.SpatialPrefixTree.maxLevels:I
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
ldc "detailLevel > maxLevels"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.lucene.spatial.prefix.tree.TreeCellIterator
dup
aload 1
iload 2
aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getWorldCell:()Lorg/apache/lucene/spatial/prefix/tree/Cell;
invokespecial org.apache.lucene.spatial.prefix.tree.TreeCellIterator.<init>:(Lorg/locationtech/spatial4j/shape/Shape;ILorg/apache/lucene/spatial/prefix/tree/Cell;)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/SpatialPrefixTree;
0 3 1 shape Lorg/locationtech/spatial4j/shape/Shape;
0 3 2 detailLevel I
MethodParameters:
Name Flags
shape
detailLevel
}
SourceFile: "SpatialPrefixTree.java"