public abstract class org.apache.lucene.spatial.util.ShapeFieldCacheProvider<T extends org.locationtech.spatial4j.shape.Shape>
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.apache.lucene.spatial.util.ShapeFieldCacheProvider
  super_class: java.lang.Object
{
  private java.util.logging.Logger log;
    descriptor: Ljava/util/logging/Logger;
    flags: (0x0002) ACC_PRIVATE

  java.util.WeakHashMap<org.apache.lucene.index.IndexReader, org.apache.lucene.spatial.util.ShapeFieldCache<T>> sidx;
    descriptor: Ljava/util/WeakHashMap;
    flags: (0x0000) 
    Signature: Ljava/util/WeakHashMap<Lorg/apache/lucene/index/IndexReader;Lorg/apache/lucene/spatial/util/ShapeFieldCache<TT;>;>;

  protected final int defaultSize;
    descriptor: I
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final java.lang.String shapeField;
    descriptor: Ljava/lang/String;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  public void <init>(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.apache.lucene.spatial.util.ShapeFieldCacheProvider this
        start local 1 // java.lang.String shapeField
        start local 2 // int defaultSize
         0: .line 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 38
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
            putfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.log:Ljava/util/logging/Logger;
         2: .line 41
            aload 0 /* this */
            new java.util.WeakHashMap
            dup
            invokespecial java.util.WeakHashMap.<init>:()V
            putfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.sidx:Ljava/util/WeakHashMap;
         3: .line 47
            aload 0 /* this */
            aload 1 /* shapeField */
            putfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.shapeField:Ljava/lang/String;
         4: .line 48
            aload 0 /* this */
            iload 2 /* defaultSize */
            putfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.defaultSize:I
         5: .line 49
            return
        end local 2 // int defaultSize
        end local 1 // java.lang.String shapeField
        end local 0 // org.apache.lucene.spatial.util.ShapeFieldCacheProvider this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    6     0         this  Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider<TT;>;
            0    6     1   shapeField  Ljava/lang/String;
            0    6     2  defaultSize  I
    MethodParameters:
             Name  Flags
      shapeField   
      defaultSize  

  protected abstract T readShape(org.apache.lucene.util.BytesRef);
    descriptor: (Lorg/apache/lucene/util/BytesRef;)Lorg/locationtech/spatial4j/shape/Shape;
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    Signature: (Lorg/apache/lucene/util/BytesRef;)TT;
    MethodParameters:
      Name  Flags
      term  

  public synchronized org.apache.lucene.spatial.util.ShapeFieldCache<T> getCache(org.apache.lucene.index.LeafReader);
    descriptor: (Lorg/apache/lucene/index/LeafReader;)Lorg/apache/lucene/spatial/util/ShapeFieldCache;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=12, args_size=2
        start local 0 // org.apache.lucene.spatial.util.ShapeFieldCacheProvider this
        start local 1 // org.apache.lucene.index.LeafReader reader
         0: .line 54
            aload 0 /* this */
            getfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.sidx:Ljava/util/WeakHashMap;
            aload 1 /* reader */
            invokevirtual java.util.WeakHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.apache.lucene.spatial.util.ShapeFieldCache
            astore 2 /* idx */
        start local 2 // org.apache.lucene.spatial.util.ShapeFieldCache idx
         1: .line 55
            aload 2 /* idx */
            ifnull 3
         2: .line 56
            aload 2 /* idx */
            areturn
         3: .line 58
      StackMap locals: org.apache.lucene.spatial.util.ShapeFieldCache
      StackMap stack:
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 3 /* startTime */
        start local 3 // long startTime
         4: .line 60
            aload 0 /* this */
            getfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.log:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "Building Cache ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* reader */
            invokevirtual org.apache.lucene.index.LeafReader.maxDoc:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
         5: .line 61
            new org.apache.lucene.spatial.util.ShapeFieldCache
            dup
            aload 1 /* reader */
            invokevirtual org.apache.lucene.index.LeafReader.maxDoc:()I
            aload 0 /* this */
            getfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.defaultSize:I
            invokespecial org.apache.lucene.spatial.util.ShapeFieldCache.<init>:(II)V
            astore 2 /* idx */
         6: .line 62
            iconst_0
            istore 5 /* count */
        start local 5 // int count
         7: .line 63
            aconst_null
            astore 6 /* docs */
        start local 6 // org.apache.lucene.index.PostingsEnum docs
         8: .line 64
            aload 1 /* reader */
            aload 0 /* this */
            getfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.shapeField:Ljava/lang/String;
            invokevirtual org.apache.lucene.index.LeafReader.terms:(Ljava/lang/String;)Lorg/apache/lucene/index/Terms;
            astore 7 /* terms */
        start local 7 // org.apache.lucene.index.Terms terms
         9: .line 65
            aload 7 /* terms */
            ifnull 24
        10: .line 66
            aload 7 /* terms */
            invokevirtual org.apache.lucene.index.Terms.iterator:()Lorg/apache/lucene/index/TermsEnum;
            astore 8 /* te */
        start local 8 // org.apache.lucene.index.TermsEnum te
        11: .line 67
            aload 8 /* te */
            invokevirtual org.apache.lucene.index.TermsEnum.next:()Lorg/apache/lucene/util/BytesRef;
            astore 9 /* term */
        start local 9 // org.apache.lucene.util.BytesRef term
        12: .line 68
            goto 23
        13: .line 69
      StackMap locals: org.apache.lucene.spatial.util.ShapeFieldCacheProvider org.apache.lucene.index.LeafReader org.apache.lucene.spatial.util.ShapeFieldCache long int org.apache.lucene.index.PostingsEnum org.apache.lucene.index.Terms org.apache.lucene.index.TermsEnum org.apache.lucene.util.BytesRef
      StackMap stack:
            aload 0 /* this */
            aload 9 /* term */
            invokevirtual org.apache.lucene.spatial.util.ShapeFieldCacheProvider.readShape:(Lorg/apache/lucene/util/BytesRef;)Lorg/locationtech/spatial4j/shape/Shape;
            astore 10 /* shape */
        start local 10 // org.locationtech.spatial4j.shape.Shape shape
        14: .line 70
            aload 10 /* shape */
            ifnull 22
        15: .line 71
            aload 8 /* te */
            aload 6 /* docs */
            iconst_0
            invokevirtual org.apache.lucene.index.TermsEnum.postings:(Lorg/apache/lucene/index/PostingsEnum;I)Lorg/apache/lucene/index/PostingsEnum;
            astore 6 /* docs */
        16: .line 72
            aload 6 /* docs */
            invokevirtual org.apache.lucene.index.PostingsEnum.nextDoc:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 11 /* docid */
        start local 11 // java.lang.Integer docid
        17: .line 73
            goto 21
        18: .line 74
      StackMap locals: org.locationtech.spatial4j.shape.Shape java.lang.Integer
      StackMap stack:
            aload 2 /* idx */
            aload 11 /* docid */
            invokevirtual java.lang.Integer.intValue:()I
            aload 10 /* shape */
            invokevirtual org.apache.lucene.spatial.util.ShapeFieldCache.add:(ILorg/locationtech/spatial4j/shape/Shape;)V
        19: .line 75
            aload 6 /* docs */
            invokevirtual org.apache.lucene.index.PostingsEnum.nextDoc:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 11 /* docid */
        20: .line 76
            iinc 5 /* count */ 1
        21: .line 73
      StackMap locals:
      StackMap stack:
            aload 11 /* docid */
            invokevirtual java.lang.Integer.intValue:()I
            ldc 2147483647
            if_icmpne 18
        end local 11 // java.lang.Integer docid
        22: .line 79
      StackMap locals:
      StackMap stack:
            aload 8 /* te */
            invokevirtual org.apache.lucene.index.TermsEnum.next:()Lorg/apache/lucene/util/BytesRef;
            astore 9 /* term */
        end local 10 // org.locationtech.spatial4j.shape.Shape shape
        23: .line 68
      StackMap locals:
      StackMap stack:
            aload 9 /* term */
            ifnonnull 13
        end local 9 // org.apache.lucene.util.BytesRef term
        end local 8 // org.apache.lucene.index.TermsEnum te
        24: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.sidx:Ljava/util/WeakHashMap;
            aload 1 /* reader */
            aload 2 /* idx */
            invokevirtual java.util.WeakHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        25: .line 83
            invokestatic java.lang.System.currentTimeMillis:()J
            lload 3 /* startTime */
            lsub
            lstore 8 /* elapsed */
        start local 8 // long elapsed
        26: .line 84
            aload 0 /* this */
            getfield org.apache.lucene.spatial.util.ShapeFieldCacheProvider.log:Ljava/util/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "Cached: ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 5 /* count */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " in "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            lload 8 /* elapsed */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc "ms] "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 2 /* idx */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
        27: .line 85
            aload 2 /* idx */
            areturn
        end local 8 // long elapsed
        end local 7 // org.apache.lucene.index.Terms terms
        end local 6 // org.apache.lucene.index.PostingsEnum docs
        end local 5 // int count
        end local 3 // long startTime
        end local 2 // org.apache.lucene.spatial.util.ShapeFieldCache idx
        end local 1 // org.apache.lucene.index.LeafReader reader
        end local 0 // org.apache.lucene.spatial.util.ShapeFieldCacheProvider this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   28     0       this  Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider<TT;>;
            0   28     1     reader  Lorg/apache/lucene/index/LeafReader;
            1   28     2        idx  Lorg/apache/lucene/spatial/util/ShapeFieldCache<TT;>;
            4   28     3  startTime  J
            7   28     5      count  I
            8   28     6       docs  Lorg/apache/lucene/index/PostingsEnum;
            9   28     7      terms  Lorg/apache/lucene/index/Terms;
           11   24     8         te  Lorg/apache/lucene/index/TermsEnum;
           12   24     9       term  Lorg/apache/lucene/util/BytesRef;
           14   23    10      shape  TT;
           17   22    11      docid  Ljava/lang/Integer;
           26   28     8    elapsed  J
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/apache/lucene/index/LeafReader;)Lorg/apache/lucene/spatial/util/ShapeFieldCache<TT;>;
    MethodParameters:
        Name  Flags
      reader  
}
Signature: <T::Lorg/locationtech/spatial4j/shape/Shape;>Ljava/lang/Object;
SourceFile: "ShapeFieldCacheProvider.java"