public class org.apache.lucene.spatial.prefix.HeatmapFacetCounter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.prefix.HeatmapFacetCounter
super_class: java.lang.Object
{
public static final int MAX_ROWS_OR_COLUMNS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, 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=2, locals=0, args_size=0
0: ldc Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter;
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.HeatmapFacetCounter.$assertionsDisabled:Z
3: getstatic org.apache.lucene.util.ArrayUtil.MAX_ARRAY_LENGTH:I
i2d
invokestatic java.lang.Math.sqrt:(D)D
d2i
putstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.MAX_ROWS_OR_COLUMNS:I
4: getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.MAX_ROWS_OR_COLUMNS:I
getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.MAX_ROWS_OR_COLUMNS:I
invokestatic java.lang.Math.multiplyExact:(II)I
pop
5: return
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap calcFacets(org.apache.lucene.spatial.prefix.PrefixTreeStrategy, org.apache.lucene.index.IndexReaderContext, org.apache.lucene.util.Bits, org.locationtech.spatial4j.shape.Shape, int, int);
descriptor: (Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;Lorg/apache/lucene/index/IndexReaderContext;Lorg/apache/lucene/util/Bits;Lorg/locationtech/spatial4j/shape/Shape;II)Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=17, locals=46, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 5
getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.MAX_ROWS_OR_COLUMNS:I
getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.MAX_ROWS_OR_COLUMNS:I
imul
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "maxCells ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") should be <= "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.MAX_ROWS_OR_COLUMNS: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:
aload 3
ifnonnull 4
3: aload 0
invokevirtual org.apache.lucene.spatial.prefix.PrefixTreeStrategy.getSpatialContext:()Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getWorldBounds:()Lorg/locationtech/spatial4j/shape/Rectangle;
astore 3
4: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.locationtech.spatial4j.shape.Shape.getBoundingBox:()Lorg/locationtech/spatial4j/shape/Rectangle;
astore 6
start local 6 5: aload 0
invokevirtual org.apache.lucene.spatial.prefix.PrefixTreeStrategy.getGrid:()Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
astore 7
start local 7 6: aload 7
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getSpatialContext:()Lorg/locationtech/spatial4j/context/SpatialContext;
astore 8
start local 8 7: aload 8
aload 6
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
aload 6
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinY:()D
invokevirtual org.locationtech.spatial4j.context.SpatialContext.makePoint:(DD)Lorg/locationtech/spatial4j/shape/Point;
astore 9
start local 9 8: aload 7
aload 9
iload 4
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getTreeCellIterator:(Lorg/locationtech/spatial4j/shape/Shape;I)Lorg/apache/lucene/spatial/prefix/tree/CellIterator;
astore 10
start local 10 9: aconst_null
astore 11
start local 11 10: goto 12
11: StackMap locals: org.apache.lucene.spatial.prefix.PrefixTreeStrategy org.apache.lucene.index.IndexReaderContext org.apache.lucene.util.Bits org.locationtech.spatial4j.shape.Shape int int org.locationtech.spatial4j.shape.Rectangle org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree org.locationtech.spatial4j.context.SpatialContext org.locationtech.spatial4j.shape.Point org.apache.lucene.spatial.prefix.tree.CellIterator org.apache.lucene.spatial.prefix.tree.Cell
StackMap stack:
aload 10
invokevirtual org.apache.lucene.spatial.prefix.tree.CellIterator.next:()Lorg/apache/lucene/spatial/prefix/tree/Cell;
astore 11
12: StackMap locals:
StackMap stack:
aload 10
invokevirtual org.apache.lucene.spatial.prefix.tree.CellIterator.hasNext:()Z
ifne 11
13: getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.$assertionsDisabled:Z
ifne 15
aload 11
ifnull 14
aload 11
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.getLevel:()I
iload 4
if_icmpeq 15
StackMap locals:
StackMap stack:
14: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Cell not at target level: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
15: StackMap locals:
StackMap stack:
aload 11
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.getShape:()Lorg/locationtech/spatial4j/shape/Shape;
checkcast org.locationtech.spatial4j.shape.Rectangle
astore 12
start local 12 16: getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.$assertionsDisabled:Z
ifne 17
aload 12
invokeinterface org.locationtech.spatial4j.shape.Rectangle.hasArea:()Z
ifne 17
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
17: StackMap locals: org.locationtech.spatial4j.shape.Rectangle
StackMap stack:
aload 12
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
dstore 13
start local 13 18: aload 12
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getWidth:()D
dstore 15
start local 15 19: aload 8
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getWorldBounds:()Lorg/locationtech/spatial4j/shape/Rectangle;
astore 17
start local 17 20: dload 15
dload 13
aload 6
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getWidth:()D
aload 6
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getWidth:()D
invokestatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.calcRowsOrCols:(DDDDD)I
istore 18
start local 18 21: aload 12
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinY:()D
dstore 19
start local 19 22: aload 12
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getHeight:()D
dstore 21
start local 21 23: dload 21
dload 19
aload 6
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getHeight:()D
aload 6
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinY:()D
aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getHeight:()D
invokestatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.calcRowsOrCols:(DDDDD)I
istore 23
start local 23 24: getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.$assertionsDisabled:Z
ifne 26
iload 23
ifle 25
iload 18
ifgt 26
StackMap locals: org.apache.lucene.spatial.prefix.PrefixTreeStrategy org.apache.lucene.index.IndexReaderContext org.apache.lucene.util.Bits org.locationtech.spatial4j.shape.Shape int int org.locationtech.spatial4j.shape.Rectangle org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree org.locationtech.spatial4j.context.SpatialContext org.locationtech.spatial4j.shape.Point org.apache.lucene.spatial.prefix.tree.CellIterator org.apache.lucene.spatial.prefix.tree.Cell org.locationtech.spatial4j.shape.Rectangle double double org.locationtech.spatial4j.shape.Rectangle int double double int
StackMap stack:
25: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
26: StackMap locals:
StackMap stack:
iload 18
getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.MAX_ROWS_OR_COLUMNS:I
if_icmpgt 27
iload 23
getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.MAX_ROWS_OR_COLUMNS:I
if_icmpgt 27
iload 18
iload 23
imul
iload 5
if_icmple 30
27: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
28: new java.lang.StringBuilder
dup
ldc "Too many cells ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 18
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " x "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 23
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") for level "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " shape "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
29: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
30: StackMap locals:
StackMap stack:
dload 15
ldc 2.0
ddiv
dstore 24
start local 24 31: iload 18
i2d
dload 15
dmul
dload 24
dadd
aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getWidth:()D
dcmpl
ifle 33
32: aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
dstore 13
33: StackMap locals: double
StackMap stack:
dload 13
iload 18
i2d
dload 15
dmul
dadd
dstore 26
start local 26 34: dload 26
aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
dsub
invokestatic java.lang.Math.abs:(D)D
dload 24
dcmpg
ifge 37
35: aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
dstore 26
36: goto 39
StackMap locals: double
StackMap stack:
37: dload 26
aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
dcmpl
ifle 39
38: dload 26
aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
dsub
aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
dadd
dstore 26
39: StackMap locals:
StackMap stack:
dload 21
ldc 2.0
ddiv
dstore 28
start local 28 40: dload 19
iload 23
i2d
dload 21
dmul
dadd
dstore 30
start local 30 41: dload 30
aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxY:()D
dsub
invokestatic java.lang.Math.abs:(D)D
dload 28
dcmpg
ifge 43
42: aload 17
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxY:()D
dstore 30
43: StackMap locals: double double
StackMap stack:
new org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap
dup
iload 18
iload 23
aload 8
dload 13
dload 26
dload 19
dload 30
invokevirtual org.locationtech.spatial4j.context.SpatialContext.makeRectangle:(DDDD)Lorg/locationtech/spatial4j/shape/Rectangle;
invokespecial org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap.<init>:(IILorg/locationtech/spatial4j/shape/Rectangle;)V
astore 32
start local 32 44: aload 2
instanceof org.apache.lucene.util.Bits$MatchNoBits
ifeq 46
45: aload 32
areturn
46: StackMap locals: org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap
StackMap stack:
iconst_1
newarray 10
astore 33
start local 33 47: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 34
start local 34 48: aload 0
aload 1
aload 2
aload 3
iload 4
49: new org.apache.lucene.spatial.prefix.HeatmapFacetCounter$1
dup
aload 32
iload 4
dload 15
dload 19
dload 21
aload 33
aload 34
invokespecial org.apache.lucene.spatial.prefix.HeatmapFacetCounter$1.<init>:(Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;IDDD[ILjava/util/Map;)V
50: invokestatic org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter.compute:(Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;Lorg/apache/lucene/index/IndexReaderContext;Lorg/apache/lucene/util/Bits;Lorg/locationtech/spatial4j/shape/Shape;ILorg/apache/lucene/spatial/prefix/PrefixTreeFacetCounter$FacetVisitor;)V
51: aload 33
iconst_0
iaload
ifle 57
52: iconst_0
istore 35
start local 35 53: goto 56
54: StackMap locals: int[] java.util.Map int
StackMap stack:
aload 32
getfield org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap.counts:[I
iload 35
dup2
iaload
aload 33
iconst_0
iaload
iadd
iastore
55: iinc 35 1
StackMap locals:
StackMap stack:
56: iload 35
aload 32
getfield org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap.counts:[I
arraylength
if_icmplt 54
end local 35 57: StackMap locals:
StackMap stack:
iconst_2
newarray 10
astore 35
start local 35 58: aload 34
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 37
goto 83
StackMap locals: org.apache.lucene.spatial.prefix.PrefixTreeStrategy org.apache.lucene.index.IndexReaderContext org.apache.lucene.util.Bits org.locationtech.spatial4j.shape.Shape int int org.locationtech.spatial4j.shape.Rectangle org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree org.locationtech.spatial4j.context.SpatialContext org.locationtech.spatial4j.shape.Point org.apache.lucene.spatial.prefix.tree.CellIterator org.apache.lucene.spatial.prefix.tree.Cell org.locationtech.spatial4j.shape.Rectangle double double org.locationtech.spatial4j.shape.Rectangle int double double int double double double double org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap int[] java.util.Map int[] top java.util.Iterator
StackMap stack:
59: aload 37
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 36
start local 36 60: aload 36
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast org.locationtech.spatial4j.shape.Rectangle
astore 38
start local 38 61: aload 36
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 39
start local 39 62: dload 19
dload 30
dload 21
iload 23
aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinY:()D
aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxY:()D
aload 35
invokestatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.intersectInterval:(DDDIDD[I)V
63: aload 35
iconst_0
iaload
istore 40
start local 40 64: aload 35
iconst_1
iaload
istore 41
start local 41 65: aload 32
getfield org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap.region:Lorg/locationtech/spatial4j/shape/Rectangle;
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getCrossesDateLine:()Z
ifne 71
66: dload 13
dload 26
dload 15
iload 18
aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
aload 35
invokestatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.intersectInterval:(DDDIDD[I)V
67: aload 35
iconst_0
iaload
istore 42
start local 42 68: aload 35
iconst_1
iaload
istore 43
start local 43 69: aload 32
iload 42
iload 43
iload 40
iload 41
iload 39
invokestatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.incrementRange:(Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;IIIII)V
end local 43 end local 42 70: goto 83
71: StackMap locals: org.apache.lucene.spatial.prefix.PrefixTreeStrategy org.apache.lucene.index.IndexReaderContext org.apache.lucene.util.Bits org.locationtech.spatial4j.shape.Shape int int org.locationtech.spatial4j.shape.Rectangle org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree org.locationtech.spatial4j.context.SpatialContext org.locationtech.spatial4j.shape.Point org.apache.lucene.spatial.prefix.tree.CellIterator org.apache.lucene.spatial.prefix.tree.Cell org.locationtech.spatial4j.shape.Rectangle double double org.locationtech.spatial4j.shape.Rectangle int double double int double double double double org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap int[] java.util.Map int[] java.util.Map$Entry java.util.Iterator org.locationtech.spatial4j.shape.Rectangle int int int
StackMap stack:
ldc 180.0
dload 13
dsub
dload 15
ddiv
invokestatic java.lang.Math.round:(D)J
l2i
istore 42
start local 42 72: aload 32
getfield org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap.columns:I
iload 42
isub
istore 43
start local 43 73: aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
dload 13
dcmpl
ifle 78
74: dload 13
ldc 180.0
dload 15
iload 42
aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
aload 35
invokestatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.intersectInterval:(DDDIDD[I)V
75: aload 35
iconst_0
iaload
istore 44
start local 44 76: aload 35
iconst_1
iaload
istore 45
start local 45 77: aload 32
iload 44
iload 45
iload 40
iload 41
iload 39
invokestatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.incrementRange:(Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;IIIII)V
end local 45 end local 44 78: StackMap locals: int int
StackMap stack:
aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
dload 26
dcmpg
ifge 83
79: ldc -180.0
dload 26
dload 15
iload 43
aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
aload 38
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
aload 35
invokestatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.intersectInterval:(DDDIDD[I)V
80: aload 35
iconst_0
iaload
iload 42
iadd
istore 44
start local 44 81: aload 35
iconst_1
iaload
iload 42
iadd
istore 45
start local 45 82: aload 32
iload 44
iload 45
iload 40
iload 41
iload 39
invokestatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.incrementRange:(Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;IIIII)V
end local 45 end local 44 end local 43 end local 42 end local 41 end local 40 end local 39 end local 38 end local 36 83: StackMap locals: org.apache.lucene.spatial.prefix.PrefixTreeStrategy org.apache.lucene.index.IndexReaderContext org.apache.lucene.util.Bits org.locationtech.spatial4j.shape.Shape int int org.locationtech.spatial4j.shape.Rectangle org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree org.locationtech.spatial4j.context.SpatialContext org.locationtech.spatial4j.shape.Point org.apache.lucene.spatial.prefix.tree.CellIterator org.apache.lucene.spatial.prefix.tree.Cell org.locationtech.spatial4j.shape.Rectangle double double org.locationtech.spatial4j.shape.Rectangle int double double int double double double double org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap int[] java.util.Map int[] top java.util.Iterator
StackMap stack:
aload 37
invokeinterface java.util.Iterator.hasNext:()Z
ifne 59
84: aload 32
areturn
end local 35 end local 34 end local 33 end local 32 end local 30 end local 28 end local 26 end local 24 end local 23 end local 21 end local 19 end local 18 end local 17 end local 15 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 85 0 strategy Lorg/apache/lucene/spatial/prefix/PrefixTreeStrategy;
0 85 1 context Lorg/apache/lucene/index/IndexReaderContext;
0 85 2 topAcceptDocs Lorg/apache/lucene/util/Bits;
0 85 3 inputShape Lorg/locationtech/spatial4j/shape/Shape;
0 85 4 facetLevel I
0 85 5 maxCells I
5 85 6 inputRect Lorg/locationtech/spatial4j/shape/Rectangle;
6 85 7 grid Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
7 85 8 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
8 85 9 cornerPt Lorg/locationtech/spatial4j/shape/Point;
9 85 10 cellIterator Lorg/apache/lucene/spatial/prefix/tree/CellIterator;
10 85 11 cornerCell Lorg/apache/lucene/spatial/prefix/tree/Cell;
16 85 12 cornerRect Lorg/locationtech/spatial4j/shape/Rectangle;
18 85 13 heatMinX D
19 85 15 cellWidth D
20 85 17 worldRect Lorg/locationtech/spatial4j/shape/Rectangle;
21 85 18 columns I
22 85 19 heatMinY D
23 85 21 cellHeight D
24 85 23 rows I
31 85 24 halfCellWidth D
34 85 26 heatMaxX D
40 85 28 halfCellHeight D
41 85 30 heatMaxY D
44 85 32 heatmap Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;
47 85 33 allCellsAncestorCount [I
48 85 34 ancestors Ljava/util/Map<Lorg/locationtech/spatial4j/shape/Rectangle;Ljava/lang/Integer;>;
53 57 35 i I
58 85 35 pair [I
60 83 36 entry Ljava/util/Map$Entry<Lorg/locationtech/spatial4j/shape/Rectangle;Ljava/lang/Integer;>;
61 83 38 rect Lorg/locationtech/spatial4j/shape/Rectangle;
62 83 39 count I
64 83 40 startRow I
65 83 41 endRow I
68 70 42 startCol I
69 70 43 endCol I
72 83 42 leftColumns I
73 83 43 rightColumns I
76 78 44 startCol I
77 78 45 endCol I
81 83 44 startCol I
82 83 45 endCol I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
strategy
context
topAcceptDocs
inputShape
facetLevel final
maxCells
private static void intersectInterval(double, double, double, int, double, double, int[]);
descriptor: (DDDIDD[I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=12, args_size=7
start local 0 start local 2 start local 4 start local 6 start local 7 start local 9 start local 11 0: getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.$assertionsDisabled:Z
ifne 2
dload 0
dload 2
dcmpg
ifge 1
dload 7
dload 9
dcmpg
iflt 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
dload 0
dload 7
dcmpl
iflt 5
3: aload 11
iconst_0
iconst_0
iastore
4: goto 6
5: StackMap locals:
StackMap stack:
aload 11
iconst_0
dload 7
dload 0
dsub
dload 4
ddiv
invokestatic java.lang.Math.round:(D)J
l2i
iastore
6: StackMap locals:
StackMap stack:
dload 2
dload 9
dcmpg
ifgt 9
7: aload 11
iconst_1
iload 6
iconst_1
isub
iastore
8: goto 10
9: StackMap locals:
StackMap stack:
aload 11
iconst_1
dload 9
dload 0
dsub
dload 4
ddiv
invokestatic java.lang.Math.round:(D)J
l2i
iconst_1
isub
iastore
10: StackMap locals:
StackMap stack:
return
end local 11 end local 9 end local 7 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 heatMin D
0 11 2 heatMax D
0 11 4 heatCellLen D
0 11 6 numCells I
0 11 7 cellMin D
0 11 9 cellMax D
0 11 11 out [I
MethodParameters:
Name Flags
heatMin
heatMax
heatCellLen
numCells
cellMin
cellMax
out
private static void incrementRange(org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap, int, int, int, int, int);
descriptor: (Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;IIIII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 1
ifge 3
1: iload 2
iload 1
iadd
istore 2
2: iconst_0
istore 1
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap.columns:I
iconst_1
isub
iload 2
invokestatic java.lang.Math.min:(II)I
istore 2
4: iload 3
ifge 7
5: iload 4
iload 3
iadd
istore 4
6: iconst_0
istore 3
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap.rows:I
iconst_1
isub
iload 4
invokestatic java.lang.Math.min:(II)I
istore 4
8: iload 3
iload 4
if_icmple 10
9: return
10: StackMap locals:
StackMap stack:
iload 1
istore 6
start local 6 11: goto 19
12: StackMap locals: int
StackMap stack:
iload 6
aload 0
getfield org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap.rows:I
imul
istore 7
start local 7 13: iload 3
istore 8
start local 8 14: goto 17
15: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap.counts:[I
iload 7
iload 8
iadd
dup2
iaload
iload 5
iadd
iastore
16: iinc 8 1
StackMap locals:
StackMap stack:
17: iload 8
iload 4
if_icmple 15
end local 8 end local 7 18: iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
iload 2
if_icmple 12
end local 6 20: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 heatmap Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap;
0 21 1 startColumn I
0 21 2 endColumn I
0 21 3 startRow I
0 21 4 endRow I
0 21 5 count I
11 20 6 c I
13 18 7 cBase I
14 18 8 r I
MethodParameters:
Name Flags
heatmap
startColumn
endColumn
startRow
endRow
count
private static int calcRowsOrCols(double, double, double, double, double);
descriptor: (DDDDD)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=16, args_size=5
start local 0 start local 2 start local 4 start local 6 start local 8 0: getstatic org.apache.lucene.spatial.prefix.HeatmapFacetCounter.$assertionsDisabled:Z
ifne 1
dload 6
dload 2
dcmpl
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
dload 4
dload 6
dload 2
dsub
dadd
dstore 10
start local 10 2: dload 10
dconst_0
dcmpl
ifne 4
3: iconst_1
ireturn
4: StackMap locals: double
StackMap stack:
dload 10
dload 0
ddiv
invokestatic java.lang.Math.ceil:(D)D
dstore 12
start local 12 5: dload 12
ldc 2.147483647E9
dcmpl
ifle 7
6: ldc 2147483647
ireturn
7: StackMap locals: double
StackMap stack:
dload 8
dload 0
ddiv
invokestatic java.lang.Math.round:(D)J
lstore 14
start local 14 8: lload 14
ldc 2147483647
lcmp
ifle 10
9: dload 12
d2i
ireturn
10: StackMap locals: long
StackMap stack:
lload 14
l2i
dload 12
d2i
invokestatic java.lang.Math.min:(II)I
ireturn
end local 14 end local 12 end local 10 end local 8 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 cellRange D
0 11 2 cellMin D
0 11 4 requestRange D
0 11 6 requestMin D
0 11 8 worldRange D
2 11 10 range D
5 11 12 intervals D
8 11 14 intervalsMax J
MethodParameters:
Name Flags
cellRange
cellMin
requestRange
requestMin
worldRange
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/prefix/HeatmapFacetCounter;
}
SourceFile: "HeatmapFacetCounter.java"
NestMembers:
org.apache.lucene.spatial.prefix.HeatmapFacetCounter$1 org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
org.apache.lucene.spatial.prefix.HeatmapFacetCounter$1
public Heatmap = org.apache.lucene.spatial.prefix.HeatmapFacetCounter$Heatmap of org.apache.lucene.spatial.prefix.HeatmapFacetCounter
public abstract FacetVisitor = org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter$FacetVisitor of org.apache.lucene.spatial.prefix.PrefixTreeFacetCounter
public MatchNoBits = org.apache.lucene.util.Bits$MatchNoBits of org.apache.lucene.util.Bits