class org.apache.cassandra.utils.btree.NodeCursor<K>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.utils.btree.NodeCursor
super_class: java.lang.Object
{
final org.apache.cassandra.utils.btree.NodeCursor<K> parent;
descriptor: Lorg/apache/cassandra/utils/btree/NodeCursor;
flags: (0x0010) ACC_FINAL
Signature: Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
final org.apache.cassandra.utils.btree.NodeCursor<K> child;
descriptor: Lorg/apache/cassandra/utils/btree/NodeCursor;
flags: (0x0010) ACC_FINAL
Signature: Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
final java.util.Comparator<? super K> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Comparator<-TK;>;
boolean inChild;
descriptor: Z
flags: (0x0000)
int position;
descriptor: I
flags: (0x0000)
java.lang.Object[] node;
descriptor: [Ljava/lang/Object;
flags: (0x0000)
int nodeOffset;
descriptor: I
flags: (0x0000)
void <init>([], org.apache.cassandra.utils.btree.NodeCursor<K>, java.util.Comparator<? super K>);
descriptor: ([Ljava/lang/Object;Lorg/apache/cassandra/utils/btree/NodeCursor;Ljava/util/Comparator;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
2: aload 0
aload 2
putfield org.apache.cassandra.utils.btree.NodeCursor.parent:Lorg/apache/cassandra/utils/btree/NodeCursor;
3: aload 0
aload 3
putfield org.apache.cassandra.utils.btree.NodeCursor.comparator:Ljava/util/Comparator;
4: aload 0
aload 1
invokestatic org.apache.cassandra.utils.btree.BTree.isLeaf:([Ljava/lang/Object;)Z
ifeq 5
aconst_null
goto 6
StackMap locals: org.apache.cassandra.utils.btree.NodeCursor java.lang.Object[] org.apache.cassandra.utils.btree.NodeCursor java.util.Comparator
StackMap stack: org.apache.cassandra.utils.btree.NodeCursor
5: new org.apache.cassandra.utils.btree.NodeCursor
dup
aload 1
aload 1
invokestatic org.apache.cassandra.utils.btree.BTree.getChildStart:([Ljava/lang/Object;)I
aaload
checkcast java.lang.Object[]
aload 0
aload 3
invokespecial org.apache.cassandra.utils.btree.NodeCursor.<init>:([Ljava/lang/Object;Lorg/apache/cassandra/utils/btree/NodeCursor;Ljava/util/Comparator;)V
StackMap locals: org.apache.cassandra.utils.btree.NodeCursor java.lang.Object[] org.apache.cassandra.utils.btree.NodeCursor java.util.Comparator
StackMap stack: org.apache.cassandra.utils.btree.NodeCursor org.apache.cassandra.utils.btree.NodeCursor
6: putfield org.apache.cassandra.utils.btree.NodeCursor.child:Lorg/apache/cassandra/utils/btree/NodeCursor;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 8 1 node [Ljava/lang/Object;
0 8 2 parent Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 8 3 comparator Ljava/util/Comparator<-TK;>;
Signature: ([Ljava/lang/Object;Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;Ljava/util/Comparator<-TK;>;)V
MethodParameters:
Name Flags
node
parent
comparator
void resetNode(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
1: aload 0
iload 2
putfield org.apache.cassandra.utils.btree.NodeCursor.nodeOffset:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 3 1 node [Ljava/lang/Object;
0 3 2 nodeOffset I
MethodParameters:
Name Flags
node
nodeOffset
void safeAdvanceIntoBranchFromChild(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: aload 0
dup
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
iconst_1
isub
putfield org.apache.cassandra.utils.btree.NodeCursor.position:I
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 3 1 forwards Z
MethodParameters:
Name Flags
forwards
boolean advanceIntoBranchFromChild(boolean);
descriptor: (Z)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
invokestatic org.apache.cassandra.utils.btree.BTree.getBranchKeyEnd:([Ljava/lang/Object;)I
if_icmpge 1
iconst_1
goto 4
StackMap locals:
StackMap stack:
1: iconst_0
goto 4
StackMap locals:
StackMap stack:
2: aload 0
dup
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
iconst_1
isub
dup_x1
putfield org.apache.cassandra.utils.btree.NodeCursor.position:I
iflt 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 5 1 forwards Z
MethodParameters:
Name Flags
forwards
boolean advanceLeafNode(boolean);
descriptor: (Z)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
aload 0
dup
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
iconst_1
iadd
dup_x1
putfield org.apache.cassandra.utils.btree.NodeCursor.position:I
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
invokestatic org.apache.cassandra.utils.btree.BTree.getLeafKeyEnd:([Ljava/lang/Object;)I
if_icmpge 1
iconst_1
goto 4
StackMap locals:
StackMap stack:
1: iconst_0
goto 4
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
iconst_1
isub
dup_x1
putfield org.apache.cassandra.utils.btree.NodeCursor.position:I
iflt 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
4: StackMap locals:
StackMap stack: int
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 5 1 forwards Z
MethodParameters:
Name Flags
forwards
K bound();
descriptor: (Z)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
iload 1
ifeq 1
iconst_0
goto 2
StackMap locals: org.apache.cassandra.utils.btree.NodeCursor int
StackMap stack: java.lang.Object[] int
1: iconst_1
StackMap locals: org.apache.cassandra.utils.btree.NodeCursor int
StackMap stack: java.lang.Object[] int int
2: isub
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 3 1 upper Z
Signature: (Z)TK;
MethodParameters:
Name Flags
upper
org.apache.cassandra.utils.btree.NodeCursor<K> boundIterator(boolean);
descriptor: (Z)Lorg/apache/cassandra/utils/btree/NodeCursor;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.parent:Lorg/apache/cassandra/utils/btree/NodeCursor;
astore 2
start local 2 1: goto 3
2: StackMap locals: org.apache.cassandra.utils.btree.NodeCursor
StackMap stack:
aload 2
getfield org.apache.cassandra.utils.btree.NodeCursor.parent:Lorg/apache/cassandra/utils/btree/NodeCursor;
astore 2
3: StackMap locals:
StackMap stack:
aload 2
ifnull 6
4: iload 1
ifeq 5
aload 2
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
aload 2
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
invokestatic org.apache.cassandra.utils.btree.BTree.getChildCount:([Ljava/lang/Object;)I
iconst_1
isub
if_icmpge 2
goto 6
StackMap locals:
StackMap stack:
5: aload 2
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
ifle 2
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 7 1 upper Z
1 7 2 bound Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
Signature: (Z)Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
MethodParameters:
Name Flags
upper
boolean seekInNode(K, );
descriptor: (Ljava/lang/Object;Z)Z
flags: (0x0000)
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
istore 3
start local 3 1: iload 2
ifeq 5
2: iload 3
iconst_1
iadd
istore 4
start local 4 3: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
invokestatic org.apache.cassandra.utils.btree.BTree.getKeyEnd:([Ljava/lang/Object;)I
istore 5
start local 5 4: goto 7
end local 5 end local 4 5: StackMap locals: int
StackMap stack:
iload 3
istore 5
start local 5 6: iconst_0
istore 4
start local 4 7: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
iload 4
iload 5
aload 1
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.comparator:Ljava/util/Comparator;
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I
istore 6
start local 6 8: iload 6
iflt 12
9: aload 0
iload 6
putfield org.apache.cassandra.utils.btree.NodeCursor.position:I
10: aload 0
iconst_0
putfield org.apache.cassandra.utils.btree.NodeCursor.inChild:Z
11: iconst_1
ireturn
12: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.utils.btree.NodeCursor.isLeaf:()Z
iload 2
ifeq 13
iconst_0
goto 14
StackMap locals:
StackMap stack: int
13: iconst_1
StackMap locals: org.apache.cassandra.utils.btree.NodeCursor java.lang.Object int int int int int
StackMap stack: int int
14: iand
ifeq 15
iconst_m1
goto 16
StackMap locals:
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 7
start local 7 17: aload 0
iload 7
iconst_1
isub
iload 6
isub
putfield org.apache.cassandra.utils.btree.NodeCursor.position:I
18: iconst_0
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 19 1 key TK;
0 19 2 forwards Z
1 19 3 position I
3 5 4 lb I
7 19 4 lb I
4 5 5 ub I
6 19 5 ub I
8 19 6 find I
17 19 7 delta I
Signature: (TK;Z)Z
MethodParameters:
Name Flags
key
forwards
org.apache.cassandra.utils.btree.NodeCursor<K> descendToFirstChild(boolean);
descriptor: (Z)Lorg/apache/cassandra/utils/btree/NodeCursor;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.utils.btree.NodeCursor.isLeaf:()Z
ifeq 5
1: aload 0
iload 1
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack: org.apache.cassandra.utils.btree.NodeCursor
2: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
invokestatic org.apache.cassandra.utils.btree.BTree.getLeafKeyEnd:([Ljava/lang/Object;)I
iconst_1
isub
StackMap locals: org.apache.cassandra.utils.btree.NodeCursor int
StackMap stack: org.apache.cassandra.utils.btree.NodeCursor int
3: putfield org.apache.cassandra.utils.btree.NodeCursor.position:I
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.NodeCursor.inChild:Z
6: aload 0
iload 1
ifeq 7
iconst_0
goto 8
StackMap locals:
StackMap stack: org.apache.cassandra.utils.btree.NodeCursor
7: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
invokestatic org.apache.cassandra.utils.btree.BTree.getChildCount:([Ljava/lang/Object;)I
iconst_1
isub
StackMap locals: org.apache.cassandra.utils.btree.NodeCursor int
StackMap stack: org.apache.cassandra.utils.btree.NodeCursor int
8: putfield org.apache.cassandra.utils.btree.NodeCursor.position:I
9: aload 0
invokevirtual org.apache.cassandra.utils.btree.NodeCursor.descend:()Lorg/apache/cassandra/utils/btree/NodeCursor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
0 10 1 forwards Z
Signature: (Z)Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
MethodParameters:
Name Flags
forwards
org.apache.cassandra.utils.btree.NodeCursor<K> descend();
descriptor: ()Lorg/apache/cassandra/utils/btree/NodeCursor;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
invokestatic org.apache.cassandra.utils.btree.BTree.getChildStart:([Ljava/lang/Object;)I
iadd
aaload
checkcast java.lang.Object[]
astore 1
start local 1 1: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.nodeOffset:I
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
invokestatic org.apache.cassandra.utils.btree.BTree.treeIndexOffsetOfChild:([Ljava/lang/Object;I)I
iadd
istore 2
start local 2 2: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.child:Lorg/apache/cassandra/utils/btree/NodeCursor;
aload 1
iload 2
invokevirtual org.apache.cassandra.utils.btree.NodeCursor.resetNode:([Ljava/lang/Object;I)V
3: aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.NodeCursor.inChild:Z
4: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.child:Lorg/apache/cassandra/utils/btree/NodeCursor;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
1 5 1 childNode [Ljava/lang/Object;
2 5 2 childOffset I
Signature: ()Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
boolean isLeaf();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.child:Lorg/apache/cassandra/utils/btree/NodeCursor;
ifnonnull 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 Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
int globalIndex();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.nodeOffset:I
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
invokestatic org.apache.cassandra.utils.btree.BTree.treeIndexOfKey:([Ljava/lang/Object;I)I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
int globalLeafIndex();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.nodeOffset:I
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
invokestatic org.apache.cassandra.utils.btree.BTree.treeIndexOfLeafKey:(I)I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
int globalBranchIndex();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.nodeOffset:I
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
invokestatic org.apache.cassandra.utils.btree.BTree.treeIndexOfBranchKey:([Ljava/lang/Object;I)I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
K value();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.node:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.NodeCursor.position:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/btree/NodeCursor<TK;>;
Signature: ()TK;
}
Signature: <K:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "NodeCursor.java"