public final class org.apache.lucene.util.FrequencyTrackingRingBuffer implements org.apache.lucene.util.Accountable
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.apache.lucene.util.FrequencyTrackingRingBuffer
  super_class: java.lang.Object
{
  private static final long BASE_RAM_BYTES_USED;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final int maxSize;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int[] buffer;
    descriptor: [I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int position;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private final org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag frequencies;
    descriptor: Lorg/apache/lucene/util/FrequencyTrackingRingBuffer$IntBag;
    flags: (0x0012) ACC_PRIVATE, 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: .line 34
            ldc Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
            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.util.FrequencyTrackingRingBuffer.$assertionsDisabled:Z
         3: .line 36
            ldc Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
            invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOfInstance:(Ljava/lang/Class;)J
            putstatic org.apache.lucene.util.FrequencyTrackingRingBuffer.BASE_RAM_BYTES_USED:J
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(int, int);
    descriptor: (II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
        start local 1 // int maxSize
        start local 2 // int sentinel
         0: .line 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 47
            iload 1 /* maxSize */
            iconst_2
            if_icmpge 3
         2: .line 48
            new java.lang.IllegalArgumentException
            dup
            ldc "maxSize must be at least 2"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 50
      StackMap locals: org.apache.lucene.util.FrequencyTrackingRingBuffer int int
      StackMap stack:
            aload 0 /* this */
            iload 1 /* maxSize */
            putfield org.apache.lucene.util.FrequencyTrackingRingBuffer.maxSize:I
         4: .line 51
            aload 0 /* this */
            iload 1 /* maxSize */
            newarray 10
            putfield org.apache.lucene.util.FrequencyTrackingRingBuffer.buffer:[I
         5: .line 52
            aload 0 /* this */
            iconst_0
            putfield org.apache.lucene.util.FrequencyTrackingRingBuffer.position:I
         6: .line 53
            aload 0 /* this */
            new org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag
            dup
            iload 1 /* maxSize */
            invokespecial org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag.<init>:(I)V
            putfield org.apache.lucene.util.FrequencyTrackingRingBuffer.frequencies:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer$IntBag;
         7: .line 55
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.buffer:[I
            iload 2 /* sentinel */
            invokestatic java.util.Arrays.fill:([II)V
         8: .line 56
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         9: goto 12
        10: .line 57
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.frequencies:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer$IntBag;
            iload 2 /* sentinel */
            invokevirtual org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag.add:(I)I
            pop
        11: .line 56
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 3 /* i */
            iload 1 /* maxSize */
            if_icmplt 10
        end local 3 // int i
        13: .line 59
            getstatic org.apache.lucene.util.FrequencyTrackingRingBuffer.$assertionsDisabled:Z
            ifne 14
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.frequencies:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer$IntBag;
            iload 2 /* sentinel */
            invokevirtual org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag.frequency:(I)I
            iload 1 /* maxSize */
            if_icmpeq 14
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        14: .line 60
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int sentinel
        end local 1 // int maxSize
        end local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   15     0      this  Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
            0   15     1   maxSize  I
            0   15     2  sentinel  I
            9   13     3         i  I
    MethodParameters:
          Name  Flags
      maxSize   
      sentinel  

  public long ramBytesUsed();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
         0: .line 64
            getstatic org.apache.lucene.util.FrequencyTrackingRingBuffer.BASE_RAM_BYTES_USED:J
         1: .line 65
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.frequencies:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer$IntBag;
            invokevirtual org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag.ramBytesUsed:()J
         2: .line 64
            ladd
         3: .line 66
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.buffer:[I
            invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOf:([I)J
         4: .line 64
            ladd
            lreturn
        end local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;

  public void add(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
        start local 1 // int i
         0: .line 75
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.buffer:[I
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.position:I
            iaload
            istore 2 /* removed */
        start local 2 // int removed
         1: .line 76
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.frequencies:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer$IntBag;
            iload 2 /* removed */
            invokevirtual org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag.remove:(I)Z
            istore 3 /* removedFromBag */
        start local 3 // boolean removedFromBag
         2: .line 77
            getstatic org.apache.lucene.util.FrequencyTrackingRingBuffer.$assertionsDisabled:Z
            ifne 3
            iload 3 /* removedFromBag */
            ifne 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 79
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.buffer:[I
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.position:I
            iload 1 /* i */
            iastore
         4: .line 80
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.frequencies:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer$IntBag;
            iload 1 /* i */
            invokevirtual org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag.add:(I)I
            pop
         5: .line 82
            aload 0 /* this */
            dup
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.position:I
            iconst_1
            iadd
            putfield org.apache.lucene.util.FrequencyTrackingRingBuffer.position:I
         6: .line 83
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.position:I
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.maxSize:I
            if_icmpne 8
         7: .line 84
            aload 0 /* this */
            iconst_0
            putfield org.apache.lucene.util.FrequencyTrackingRingBuffer.position:I
         8: .line 86
      StackMap locals:
      StackMap stack:
            return
        end local 3 // boolean removedFromBag
        end local 2 // int removed
        end local 1 // int i
        end local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    9     0            this  Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
            0    9     1               i  I
            1    9     2         removed  I
            2    9     3  removedFromBag  Z
    MethodParameters:
      Name  Flags
      i     

  public int frequency(int);
    descriptor: (I)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
        start local 1 // int key
         0: .line 92
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.frequencies:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer$IntBag;
            iload 1 /* key */
            invokevirtual org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag.frequency:(I)I
            ireturn
        end local 1 // int key
        end local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
            0    1     1   key  I
    MethodParameters:
      Name  Flags
      key   

  java.util.Map<java.lang.Integer, java.lang.Integer> asFrequencyMap();
    descriptor: ()Ljava/util/Map;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
         0: .line 97
            aload 0 /* this */
            getfield org.apache.lucene.util.FrequencyTrackingRingBuffer.frequencies:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer$IntBag;
            invokevirtual org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag.asMap:()Ljava/util/Map;
            areturn
        end local 0 // org.apache.lucene.util.FrequencyTrackingRingBuffer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
    Signature: ()Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Integer;>;
}
SourceFile: "FrequencyTrackingRingBuffer.java"
NestMembers:
  org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag
InnerClasses:
  private IntBag = org.apache.lucene.util.FrequencyTrackingRingBuffer$IntBag of org.apache.lucene.util.FrequencyTrackingRingBuffer