public interface jdk.internal.org.jline.reader.History extends java.lang.Iterable<jdk.internal.org.jline.reader.History$Entry>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.internal.org.jline.reader.History
super_class: java.lang.Object
{
public abstract void attach(jdk.internal.org.jline.reader.LineReader);
descriptor: (Ljdk/internal/org/jline/reader/LineReader;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
reader
public abstract void load();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void save();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void write(java.nio.file.Path, boolean);
descriptor: (Ljava/nio/file/Path;Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
incremental
public abstract void append(java.nio.file.Path, boolean);
descriptor: (Ljava/nio/file/Path;Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
incremental
public abstract void read(java.nio.file.Path, boolean);
descriptor: (Ljava/nio/file/Path;Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
incremental
public abstract void purge();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract int size();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.internal.org.jline.reader.History.size:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/History;
public abstract int index();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int first();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int last();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.String get(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
public void add(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.time.Instant.now:()Ljava/time/Instant;
aload 1
invokeinterface jdk.internal.org.jline.reader.History.add:(Ljava/time/Instant;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/History;
0 2 1 line Ljava/lang/String;
MethodParameters:
Name Flags
line
public abstract void add(java.time.Instant, java.lang.String);
descriptor: (Ljava/time/Instant;Ljava/lang/String;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
time
line
public boolean isPersistable(jdk.internal.org.jline.reader.History$Entry);
descriptor: (Ljdk/internal/org/jline/reader/History$Entry;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/History;
0 1 1 entry Ljdk/internal/org/jline/reader/History$Entry;
MethodParameters:
Name Flags
entry
public abstract java.util.ListIterator<jdk.internal.org.jline.reader.History$Entry> iterator(int);
descriptor: (I)Ljava/util/ListIterator;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (I)Ljava/util/ListIterator<Ljdk/internal/org/jline/reader/History$Entry;>;
MethodParameters:
Name Flags
index
public java.util.ListIterator<jdk.internal.org.jline.reader.History$Entry> iterator();
descriptor: ()Ljava/util/ListIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokeinterface jdk.internal.org.jline.reader.History.first:()I
invokeinterface jdk.internal.org.jline.reader.History.iterator:(I)Ljava/util/ListIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/History;
Signature: ()Ljava/util/ListIterator<Ljdk/internal/org/jline/reader/History$Entry;>;
public java.util.Iterator<jdk.internal.org.jline.reader.History$Entry> reverseIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokeinterface jdk.internal.org.jline.reader.History.last:()I
invokeinterface jdk.internal.org.jline.reader.History.reverseIterator:(I)Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/History;
Signature: ()Ljava/util/Iterator<Ljdk/internal/org/jline/reader/History$Entry;>;
public java.util.Iterator<jdk.internal.org.jline.reader.History$Entry> reverseIterator(int);
descriptor: (I)Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.internal.org.jline.reader.History$1
dup
aload 0
iload 1
invokespecial jdk.internal.org.jline.reader.History$1.<init>:(Ljdk/internal/org/jline/reader/History;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/History;
0 1 1 index I
Signature: (I)Ljava/util/Iterator<Ljdk/internal/org/jline/reader/History$Entry;>;
MethodParameters:
Name Flags
index
public abstract java.lang.String current();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean previous();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean next();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean moveToFirst();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean moveToLast();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean moveTo(int);
descriptor: (I)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
public abstract void moveToEnd();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void resetIndex();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.util.Iterator iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokeinterface jdk.internal.org.jline.reader.History.iterator:()Ljava/util/ListIterator;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<Ljdk/internal/org/jline/reader/History$Entry;>;
SourceFile: "History.java"
NestMembers:
jdk.internal.org.jline.reader.History$1 jdk.internal.org.jline.reader.History$Entry
InnerClasses:
jdk.internal.org.jline.reader.History$1
public abstract Entry = jdk.internal.org.jline.reader.History$Entry of jdk.internal.org.jline.reader.History