class jdk.internal.jline.console.history.MemoryHistory$EntriesIterator implements java.util.ListIterator<jdk.internal.jline.console.history.History$Entry>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jline.console.history.MemoryHistory$EntriesIterator
super_class: java.lang.Object
{
private final java.util.ListIterator<java.lang.CharSequence> source;
descriptor: Ljava/util/ListIterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ListIterator<Ljava/lang/CharSequence;>;
final jdk.internal.jline.console.history.MemoryHistory this$0;
descriptor: Ljdk/internal/jline/console/history/MemoryHistory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(jdk.internal.jline.console.history.MemoryHistory, int);
descriptor: (Ljdk/internal/jline/console/history/MemoryHistory;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.this$0:Ljdk/internal/jline/console/history/MemoryHistory;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
iload 2
invokevirtual java.util.LinkedList.listIterator:(I)Ljava/util/ListIterator;
putfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
0 3 2 index I
MethodParameters:
Name Flags
this$0 final
index final
public jdk.internal.jline.console.history.History$Entry next();
descriptor: ()Ljdk/internal/jline/console/history/History$Entry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new jdk.internal.jline.console.history.MemoryHistory$EntryImpl
dup
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.this$0:Ljdk/internal/jline/console/history/MemoryHistory;
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.nextIndex:()I
iadd
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
checkcast java.lang.CharSequence
invokespecial jdk.internal.jline.console.history.MemoryHistory$EntryImpl.<init>:(ILjava/lang/CharSequence;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
public jdk.internal.jline.console.history.History$Entry previous();
descriptor: ()Ljdk/internal/jline/console/history/History$Entry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.hasPrevious:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new jdk.internal.jline.console.history.MemoryHistory$EntryImpl
dup
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.this$0:Ljdk/internal/jline/console/history/MemoryHistory;
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.previousIndex:()I
iadd
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.previous:()Ljava/lang/Object;
checkcast java.lang.CharSequence
invokespecial jdk.internal.jline.console.history.MemoryHistory$EntryImpl.<init>:(ILjava/lang/CharSequence;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
public int nextIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.this$0:Ljdk/internal/jline/console/history/MemoryHistory;
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.nextIndex:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
public int previousIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.this$0:Ljdk/internal/jline/console/history/MemoryHistory;
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.previousIndex:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.hasNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
public boolean hasPrevious();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.source:Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.hasPrevious:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
public void set(jdk.internal.jline.console.history.History$Entry);
descriptor: (Ljdk/internal/jline/console/history/History$Entry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
0 1 1 entry Ljdk/internal/jline/console/history/History$Entry;
MethodParameters:
Name Flags
entry final
public void add(jdk.internal.jline.console.history.History$Entry);
descriptor: (Ljdk/internal/jline/console/history/History$Entry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory$EntriesIterator;
0 1 1 entry Ljdk/internal/jline/console/history/History$Entry;
MethodParameters:
Name Flags
entry final
public void set(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast jdk.internal.jline.console.history.History$Entry
invokevirtual jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.set:(Ljdk/internal/jline/console/history/History$Entry;)V
return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.next:()Ljdk/internal/jline/console/history/History$Entry;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object previous();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.previous:()Ljdk/internal/jline/console/history/History$Entry;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void add(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast jdk.internal.jline.console.history.History$Entry
invokevirtual jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.add:(Ljdk/internal/jline/console/history/History$Entry;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/ListIterator<Ljdk/internal/jline/console/history/History$Entry;>;
SourceFile: "MemoryHistory.java"
NestHost: jdk.internal.jline.console.history.MemoryHistory
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