public class jdk.internal.jline.console.history.MemoryHistory implements jdk.internal.jline.console.history.History
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.jline.console.history.MemoryHistory
  super_class: java.lang.Object
{
  public static final int DEFAULT_MAX_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 500

  private final java.util.LinkedList<java.lang.CharSequence> items;
    descriptor: Ljava/util/LinkedList;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/LinkedList<Ljava/lang/CharSequence;>;

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

  private boolean ignoreDuplicates;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean autoTrim;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

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

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

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 25
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 30
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
         2: .line 32
            aload 0 /* this */
            sipush 500
            putfield jdk.internal.jline.console.history.MemoryHistory.maxSize:I
         3: .line 34
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.jline.console.history.MemoryHistory.ignoreDuplicates:Z
         4: .line 36
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.console.history.MemoryHistory.autoTrim:Z
         5: .line 48
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.console.history.MemoryHistory.offset:I
         6: .line 50
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.console.history.MemoryHistory.index:I
         7: .line 25
            return
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public void setMaxSize(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // int maxSize
         0: .line 53
            aload 0 /* this */
            iload 1 /* maxSize */
            putfield jdk.internal.jline.console.history.MemoryHistory.maxSize:I
         1: .line 54
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.maybeResize:()V
         2: .line 55
            return
        end local 1 // int maxSize
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    3     1  maxSize  I
    MethodParameters:
         Name  Flags
      maxSize  final

  public int getMaxSize();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 58
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.maxSize:I
            ireturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public boolean isIgnoreDuplicates();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 62
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.ignoreDuplicates:Z
            ireturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public void setIgnoreDuplicates(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // boolean flag
         0: .line 66
            aload 0 /* this */
            iload 1 /* flag */
            putfield jdk.internal.jline.console.history.MemoryHistory.ignoreDuplicates:Z
         1: .line 67
            return
        end local 1 // boolean flag
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    2     1  flag  Z
    MethodParameters:
      Name  Flags
      flag  final

  public boolean isAutoTrim();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 70
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.autoTrim:Z
            ireturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public void setAutoTrim(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // boolean flag
         0: .line 74
            aload 0 /* this */
            iload 1 /* flag */
            putfield jdk.internal.jline.console.history.MemoryHistory.autoTrim:Z
         1: .line 75
            return
        end local 1 // boolean flag
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    2     1  flag  Z
    MethodParameters:
      Name  Flags
      flag  final

  public int size();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 78
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.size:()I
            ireturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public boolean isEmpty();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 82
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.isEmpty:()Z
            ireturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public int index();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 86
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.index:I
            iadd
            ireturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public void clear();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 90
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.clear:()V
         1: .line 91
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.console.history.MemoryHistory.offset:I
         2: .line 92
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.console.history.MemoryHistory.index:I
         3: .line 93
            return
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public java.lang.CharSequence get(int);
    descriptor: (I)Ljava/lang/CharSequence;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // int index
         0: .line 96
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            iload 1 /* index */
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
            isub
            invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
            checkcast java.lang.CharSequence
            areturn
        end local 1 // int index
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    1     1  index  I
    MethodParameters:
       Name  Flags
      index  final

  public void set(int, java.lang.CharSequence);
    descriptor: (ILjava/lang/CharSequence;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // int index
        start local 2 // java.lang.CharSequence item
         0: .line 100
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            iload 1 /* index */
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
            isub
            aload 2 /* item */
            invokevirtual java.util.LinkedList.set:(ILjava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 101
            return
        end local 2 // java.lang.CharSequence item
        end local 1 // int index
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    2     1  index  I
            0    2     2   item  Ljava/lang/CharSequence;
    MethodParameters:
       Name  Flags
      index  
      item   

  public void add(java.lang.CharSequence);
    descriptor: (Ljava/lang/CharSequence;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // java.lang.CharSequence item
         0: .line 104
            aload 1 /* item */
            invokestatic jdk.internal.jline.internal.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 106
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.isAutoTrim:()Z
            ifeq 3
         2: .line 107
            aload 1 /* item */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            astore 1 /* item */
         3: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.isIgnoreDuplicates:()Z
            ifeq 6
         4: .line 111
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.isEmpty:()Z
            ifne 6
            aload 1 /* item */
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.getLast:()Ljava/lang/Object;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 6
         5: .line 112
            return
         6: .line 116
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* item */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.internalAdd:(Ljava/lang/CharSequence;)V
         7: .line 117
            return
        end local 1 // java.lang.CharSequence item
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    8     1  item  Ljava/lang/CharSequence;
    MethodParameters:
      Name  Flags
      item  

  public java.lang.CharSequence remove(int);
    descriptor: (I)Ljava/lang/CharSequence;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // int i
         0: .line 120
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            iload 1 /* i */
            invokevirtual java.util.LinkedList.remove:(I)Ljava/lang/Object;
            checkcast java.lang.CharSequence
            areturn
        end local 1 // int i
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    1     1     i  I
    MethodParameters:
      Name  Flags
      i     

  public java.lang.CharSequence removeFirst();
    descriptor: ()Ljava/lang/CharSequence;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 124
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
            checkcast java.lang.CharSequence
            areturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public java.lang.CharSequence removeLast();
    descriptor: ()Ljava/lang/CharSequence;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 128
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.removeLast:()Ljava/lang/Object;
            checkcast java.lang.CharSequence
            areturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  protected void internalAdd(java.lang.CharSequence);
    descriptor: (Ljava/lang/CharSequence;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // java.lang.CharSequence item
         0: .line 132
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            aload 1 /* item */
            invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
            pop
         1: .line 134
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.maybeResize:()V
         2: .line 135
            return
        end local 1 // java.lang.CharSequence item
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    3     1  item  Ljava/lang/CharSequence;
    MethodParameters:
      Name  Flags
      item  

  public void replace(java.lang.CharSequence);
    descriptor: (Ljava/lang/CharSequence;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // java.lang.CharSequence item
         0: .line 138
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.removeLast:()Ljava/lang/Object;
            pop
         1: .line 139
            aload 0 /* this */
            aload 1 /* item */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.add:(Ljava/lang/CharSequence;)V
         2: .line 140
            return
        end local 1 // java.lang.CharSequence item
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    3     1  item  Ljava/lang/CharSequence;
    MethodParameters:
      Name  Flags
      item  final

  private void maybeResize();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 143
            goto 3
         1: .line 144
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
            pop
         2: .line 145
            aload 0 /* this */
            dup
            getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
            iconst_1
            iadd
            putfield jdk.internal.jline.console.history.MemoryHistory.offset:I
         3: .line 143
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.getMaxSize:()I
            if_icmpgt 1
         4: .line 148
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
            putfield jdk.internal.jline.console.history.MemoryHistory.index:I
         5: .line 149
            return
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public java.util.ListIterator<jdk.internal.jline.console.history.History$Entry> entries(int);
    descriptor: (I)Ljava/util/ListIterator;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // int index
         0: .line 152
            new jdk.internal.jline.console.history.MemoryHistory$EntriesIterator
            dup
            aload 0 /* this */
            iload 1 /* index */
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
            isub
            invokespecial jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.<init>:(Ljdk/internal/jline/console/history/MemoryHistory;I)V
            areturn
        end local 1 // int index
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    1     1  index  I
    Signature: (I)Ljava/util/ListIterator<Ljdk/internal/jline/console/history/History$Entry;>;
    MethodParameters:
       Name  Flags
      index  final

  public java.util.ListIterator<jdk.internal.jline.console.history.History$Entry> entries();
    descriptor: ()Ljava/util/ListIterator;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 156
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.entries:(I)Ljava/util/ListIterator;
            areturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;
    Signature: ()Ljava/util/ListIterator<Ljdk/internal/jline/console/history/History$Entry;>;

  public java.util.Iterator<jdk.internal.jline.console.history.History$Entry> iterator();
    descriptor: ()Ljava/util/Iterator;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 160
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.entries:()Ljava/util/ListIterator;
            areturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/jline/console/history/MemoryHistory;
    Signature: ()Ljava/util/Iterator<Ljdk/internal/jline/console/history/History$Entry;>;

  public boolean moveToLast();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 253
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
            iconst_1
            isub
            istore 1 /* lastEntry */
        start local 1 // int lastEntry
         1: .line 254
            iload 1 /* lastEntry */
            iflt 4
            iload 1 /* lastEntry */
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.index:I
            if_icmpeq 4
         2: .line 255
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
            iconst_1
            isub
            putfield jdk.internal.jline.console.history.MemoryHistory.index:I
         3: .line 256
            iconst_1
            ireturn
         4: .line 259
      StackMap locals: int
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // int lastEntry
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Ljdk/internal/jline/console/history/MemoryHistory;
            1    5     1  lastEntry  I

  public boolean moveTo(int);
    descriptor: (I)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
        start local 1 // int index
         0: .line 268
            iload 1 /* index */
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
            isub
            istore 1 /* index */
         1: .line 269
            iload 1 /* index */
            iflt 4
            iload 1 /* index */
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
            if_icmpge 4
         2: .line 270
            aload 0 /* this */
            iload 1 /* index */
            putfield jdk.internal.jline.console.history.MemoryHistory.index:I
         3: .line 271
            iconst_1
            ireturn
         4: .line 273
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // int index
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Ljdk/internal/jline/console/history/MemoryHistory;
            0    5     1  index  I
    MethodParameters:
       Name  Flags
      index  

  public boolean moveToFirst();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 283
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
            ifle 3
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.index:I
            ifeq 3
         1: .line 284
            aload 0 /* this */
            iconst_0
            putfield jdk.internal.jline.console.history.MemoryHistory.index:I
         2: .line 285
            iconst_1
            ireturn
         3: .line 288
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public void moveToEnd();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 296
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
            putfield jdk.internal.jline.console.history.MemoryHistory.index:I
         1: .line 297
            return
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public java.lang.CharSequence current();
    descriptor: ()Ljava/lang/CharSequence;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 303
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.index:I
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
            if_icmplt 2
         1: .line 304
            ldc ""
            areturn
         2: .line 307
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.index:I
            invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
            checkcast java.lang.CharSequence
            areturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public boolean previous();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 316
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.index:I
            ifgt 2
         1: .line 317
            iconst_0
            ireturn
         2: .line 320
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.internal.jline.console.history.MemoryHistory.index:I
            iconst_1
            isub
            putfield jdk.internal.jline.console.history.MemoryHistory.index:I
         3: .line 322
            iconst_1
            ireturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public boolean next();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 331
            aload 0 /* this */
            getfield jdk.internal.jline.console.history.MemoryHistory.index:I
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
            if_icmplt 2
         1: .line 332
            iconst_0
            ireturn
         2: .line 335
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield jdk.internal.jline.console.history.MemoryHistory.index:I
            iconst_1
            iadd
            putfield jdk.internal.jline.console.history.MemoryHistory.index:I
         3: .line 337
            iconst_1
            ireturn
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/jline/console/history/MemoryHistory;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // jdk.internal.jline.console.history.MemoryHistory this
         0: .line 342
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* sb */
        start local 1 // java.lang.StringBuilder sb
         1: .line 343
            aload 0 /* this */
            invokevirtual jdk.internal.jline.console.history.MemoryHistory.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: jdk.internal.jline.console.history.MemoryHistory java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.jline.console.history.History$Entry
            astore 2 /* e */
        start local 2 // jdk.internal.jline.console.history.History$Entry e
         3: .line 344
            aload 1 /* sb */
            new java.lang.StringBuilder
            dup
            aload 2 /* e */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 2 // jdk.internal.jline.console.history.History$Entry e
         4: .line 343
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 346
            aload 1 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder sb
        end local 0 // jdk.internal.jline.console.history.MemoryHistory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/jline/console/history/MemoryHistory;
            1    6     1    sb  Ljava/lang/StringBuilder;
            3    4     2     e  Ljdk/internal/jline/console/history/History$Entry;
}
SourceFile: "MemoryHistory.java"
NestMembers:
  jdk.internal.jline.console.history.MemoryHistory$EntriesIterator  jdk.internal.jline.console.history.MemoryHistory$EntryImpl
InnerClasses:
  public abstract Entry = jdk.internal.jline.console.history.History$Entry of jdk.internal.jline.console.history.History
  private EntriesIterator = jdk.internal.jline.console.history.MemoryHistory$EntriesIterator of jdk.internal.jline.console.history.MemoryHistory
  private EntryImpl = jdk.internal.jline.console.history.MemoryHistory$EntryImpl of jdk.internal.jline.console.history.MemoryHistory