public class org.h2.index.TreeCursor implements org.h2.index.Cursor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.h2.index.TreeCursor
super_class: java.lang.Object
{
private final org.h2.index.TreeIndex tree;
descriptor: Lorg/h2/index/TreeIndex;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.h2.index.TreeNode node;
descriptor: Lorg/h2/index/TreeNode;
flags: (0x0002) ACC_PRIVATE
private boolean beforeFirst;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final org.h2.result.SearchRow first;
descriptor: Lorg/h2/result/SearchRow;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.h2.result.SearchRow last;
descriptor: Lorg/h2/result/SearchRow;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.h2.index.TreeIndex, org.h2.index.TreeNode, org.h2.result.SearchRow, org.h2.result.SearchRow);
descriptor: (Lorg/h2/index/TreeIndex;Lorg/h2/index/TreeNode;Lorg/h2/result/SearchRow;Lorg/h2/result/SearchRow;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.h2.index.TreeCursor.tree:Lorg/h2/index/TreeIndex;
2: aload 0
aload 2
putfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
3: aload 0
aload 3
putfield org.h2.index.TreeCursor.first:Lorg/h2/result/SearchRow;
4: aload 0
aload 4
putfield org.h2.index.TreeCursor.last:Lorg/h2/result/SearchRow;
5: aload 0
iconst_1
putfield org.h2.index.TreeCursor.beforeFirst:Z
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/h2/index/TreeCursor;
0 7 1 tree Lorg/h2/index/TreeIndex;
0 7 2 node Lorg/h2/index/TreeNode;
0 7 3 first Lorg/h2/result/SearchRow;
0 7 4 last Lorg/h2/result/SearchRow;
MethodParameters:
Name Flags
tree
node
first
last
public org.h2.result.Row get();
descriptor: ()Lorg/h2/result/Row;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
getfield org.h2.index.TreeNode.row:Lorg/h2/result/Row;
StackMap locals:
StackMap stack: org.h2.result.Row
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/h2/index/TreeCursor;
public org.h2.result.SearchRow getSearchRow();
descriptor: ()Lorg/h2/result/SearchRow;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.h2.index.TreeCursor.get:()Lorg/h2/result/Row;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/h2/index/TreeCursor;
public boolean next();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.h2.index.TreeCursor.beforeFirst:Z
ifeq 7
1: aload 0
iconst_0
putfield org.h2.index.TreeCursor.beforeFirst:Z
2: aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.h2.index.TreeCursor.first:Lorg/h2/result/SearchRow;
ifnull 8
aload 0
getfield org.h2.index.TreeCursor.tree:Lorg/h2/index/TreeIndex;
aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
getfield org.h2.index.TreeNode.row:Lorg/h2/result/Row;
aload 0
getfield org.h2.index.TreeCursor.first:Lorg/h2/result/SearchRow;
invokevirtual org.h2.index.TreeIndex.compareRows:(Lorg/h2/result/SearchRow;Lorg/h2/result/SearchRow;)I
ifge 8
5: aload 0
aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
invokestatic org.h2.index.TreeCursor.next:(Lorg/h2/index/TreeNode;)Lorg/h2/index/TreeNode;
putfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
invokestatic org.h2.index.TreeCursor.next:(Lorg/h2/index/TreeNode;)Lorg/h2/index/TreeNode;
putfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
8: StackMap locals:
StackMap stack:
aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
ifnull 11
aload 0
getfield org.h2.index.TreeCursor.last:Lorg/h2/result/SearchRow;
ifnull 11
9: aload 0
getfield org.h2.index.TreeCursor.tree:Lorg/h2/index/TreeIndex;
aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
getfield org.h2.index.TreeNode.row:Lorg/h2/result/Row;
aload 0
getfield org.h2.index.TreeCursor.last:Lorg/h2/result/SearchRow;
invokevirtual org.h2.index.TreeIndex.compareRows:(Lorg/h2/result/SearchRow;Lorg/h2/result/SearchRow;)I
ifle 11
10: aload 0
aconst_null
putfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
11: StackMap locals:
StackMap stack:
aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
ifnull 12
iconst_1
ireturn
StackMap locals:
StackMap stack:
12: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/h2/index/TreeCursor;
public boolean previous();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
invokestatic org.h2.index.TreeCursor.previous:(Lorg/h2/index/TreeNode;)Lorg/h2/index/TreeNode;
putfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
1: aload 0
getfield org.h2.index.TreeCursor.node:Lorg/h2/index/TreeNode;
ifnull 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/h2/index/TreeCursor;
private static org.h2.index.TreeNode next(org.h2.index.TreeNode);
descriptor: (Lorg/h2/index/TreeNode;)Lorg/h2/index/TreeNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.h2.index.TreeNode.right:Lorg/h2/index/TreeNode;
astore 1
start local 1 3: aload 1
ifnull 11
4: aload 1
astore 0
5: aload 0
getfield org.h2.index.TreeNode.left:Lorg/h2/index/TreeNode;
astore 2
start local 2 6: goto 9
7: StackMap locals: org.h2.index.TreeNode org.h2.index.TreeNode
StackMap stack:
aload 2
astore 0
8: aload 0
getfield org.h2.index.TreeNode.left:Lorg/h2/index/TreeNode;
astore 2
9: StackMap locals:
StackMap stack:
aload 2
ifnonnull 7
10: aload 0
areturn
end local 2 11: StackMap locals:
StackMap stack:
aload 0
astore 2
start local 2 12: aload 0
getfield org.h2.index.TreeNode.parent:Lorg/h2/index/TreeNode;
astore 0
13: goto 16
14: StackMap locals: org.h2.index.TreeNode
StackMap stack:
aload 0
astore 2
15: aload 0
getfield org.h2.index.TreeNode.parent:Lorg/h2/index/TreeNode;
astore 0
16: StackMap locals:
StackMap stack:
aload 0
ifnull 17
aload 2
aload 0
getfield org.h2.index.TreeNode.right:Lorg/h2/index/TreeNode;
if_acmpeq 14
17: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 x Lorg/h2/index/TreeNode;
3 18 1 r Lorg/h2/index/TreeNode;
6 11 2 l Lorg/h2/index/TreeNode;
12 18 2 ch Lorg/h2/index/TreeNode;
MethodParameters:
Name Flags
x
private static org.h2.index.TreeNode previous(org.h2.index.TreeNode);
descriptor: (Lorg/h2/index/TreeNode;)Lorg/h2/index/TreeNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.h2.index.TreeNode.left:Lorg/h2/index/TreeNode;
astore 1
start local 1 3: aload 1
ifnull 11
4: aload 1
astore 0
5: aload 0
getfield org.h2.index.TreeNode.right:Lorg/h2/index/TreeNode;
astore 2
start local 2 6: goto 9
7: StackMap locals: org.h2.index.TreeNode org.h2.index.TreeNode
StackMap stack:
aload 2
astore 0
8: aload 0
getfield org.h2.index.TreeNode.right:Lorg/h2/index/TreeNode;
astore 2
9: StackMap locals:
StackMap stack:
aload 2
ifnonnull 7
10: aload 0
areturn
end local 2 11: StackMap locals:
StackMap stack:
aload 0
astore 2
start local 2 12: aload 0
getfield org.h2.index.TreeNode.parent:Lorg/h2/index/TreeNode;
astore 0
13: goto 16
14: StackMap locals: org.h2.index.TreeNode
StackMap stack:
aload 0
astore 2
15: aload 0
getfield org.h2.index.TreeNode.parent:Lorg/h2/index/TreeNode;
astore 0
16: StackMap locals:
StackMap stack:
aload 0
ifnull 17
aload 2
aload 0
getfield org.h2.index.TreeNode.left:Lorg/h2/index/TreeNode;
if_acmpeq 14
17: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 x Lorg/h2/index/TreeNode;
3 18 1 l Lorg/h2/index/TreeNode;
6 11 2 r Lorg/h2/index/TreeNode;
12 18 2 ch Lorg/h2/index/TreeNode;
MethodParameters:
Name Flags
x
}
SourceFile: "TreeCursor.java"