public class org.apache.cassandra.utils.btree.BTree$Builder<V>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.btree.BTree$Builder
super_class: java.lang.Object
{
java.util.Comparator<? super V> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0000)
Signature: Ljava/util/Comparator<-TV;>;
java.lang.Object[] values;
descriptor: [Ljava/lang/Object;
flags: (0x0000)
int count;
descriptor: I
flags: (0x0000)
boolean detected;
descriptor: Z
flags: (0x0000)
boolean auto;
descriptor: Z
flags: (0x0000)
org.apache.cassandra.utils.btree.BTree$Builder$QuickResolver<V> quickResolver;
descriptor: Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
flags: (0x0000)
Signature: Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver<TV;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/utils/btree/BTree;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.utils.btree.BTree$Builder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.util.Comparator<? super V>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
bipush 16
invokespecial org.apache.cassandra.utils.btree.BTree$Builder.<init>:(Ljava/util/Comparator;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 2 1 comparator Ljava/util/Comparator<-TV;>;
Signature: (Ljava/util/Comparator<-TV;>;)V
MethodParameters:
Name Flags
comparator
protected void <init>(java.util.Comparator<? super V>, );
descriptor: (Ljava/util/Comparator;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
2: aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
3: iload 2
ifne 5
4: bipush 16
istore 2
5: StackMap locals: org.apache.cassandra.utils.btree.BTree$Builder java.util.Comparator int
StackMap stack:
aload 0
aload 1
putfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
6: aload 0
iload 2
anewarray java.lang.Object
putfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 8 1 comparator Ljava/util/Comparator<-TV;>;
0 8 2 initialCapacity I
Signature: (Ljava/util/Comparator<-TV;>;I)V
MethodParameters:
Name Flags
comparator
initialCapacity
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
2: aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
3: aload 0
bipush 16
anewarray java.lang.Object
putfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
private void <init>(org.apache.cassandra.utils.btree.BTree$Builder<V>);
descriptor: (Lorg/apache/cassandra/utils/btree/BTree$Builder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
2: aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
3: aload 0
aload 1
getfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
putfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
4: aload 0
aload 1
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
aload 1
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
5: aload 0
aload 1
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
putfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
6: aload 0
aload 1
getfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
putfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
7: aload 0
aload 1
getfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
putfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
8: aload 0
aload 1
getfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
putfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 10 1 builder Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
Signature: (Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;)V
MethodParameters:
Name Flags
builder
public org.apache.cassandra.utils.btree.BTree$Builder<V> copy();
descriptor: ()Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.utils.btree.BTree$Builder
dup
aload 0
invokespecial org.apache.cassandra.utils.btree.BTree$Builder.<init>:(Lorg/apache/cassandra/utils/btree/BTree$Builder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
Signature: ()Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
public org.apache.cassandra.utils.btree.BTree$Builder<V> setQuickResolver(org.apache.cassandra.utils.btree.BTree$Builder$QuickResolver<V>);
descriptor: (Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;)Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 2 1 quickResolver Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver<TV;>;
Signature: (Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver<TV;>;)Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
MethodParameters:
Name Flags
quickResolver
public void reuse();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
invokevirtual org.apache.cassandra.utils.btree.BTree$Builder.reuse:(Ljava/util/Comparator;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
public void reuse(java.util.Comparator<? super V>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
1: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
aconst_null
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 0
iconst_0
putfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
3: aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 5 1 comparator Ljava/util/Comparator<-TV;>;
Signature: (Ljava/util/Comparator<-TV;>;)V
MethodParameters:
Name Flags
comparator
public org.apache.cassandra.utils.btree.BTree$Builder<V> auto(boolean);
descriptor: (Z)Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 2 1 auto Z
Signature: (Z)Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
MethodParameters:
Name Flags
auto
public org.apache.cassandra.utils.btree.BTree$Builder<V> add(V);
descriptor: (Ljava/lang/Object;)Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
arraylength
if_icmpne 2
1: aload 0
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
iconst_2
imul
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
astore 2
start local 2 3: aload 0
dup
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
dup_x1
iconst_1
iadd
putfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
istore 3
start local 3 4: aload 2
iload 3
aload 1
aastore
5: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
ifeq 15
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
ifeq 15
iload 3
ifle 15
6: aload 2
iload 3
iconst_1
isub
aaload
astore 4
start local 4 7: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
aload 4
aload 1
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 5
start local 5 8: iload 5
ifne 13
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
ifeq 13
9: aload 0
iload 3
putfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
10: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
ifnull 15
11: aload 2
iload 3
iconst_1
isub
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
aload 4
aload 1
invokeinterface org.apache.cassandra.utils.btree.BTree$Builder$QuickResolver.resolve:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
aastore
12: goto 15
13: StackMap locals: org.apache.cassandra.utils.btree.BTree$Builder java.lang.Object java.lang.Object[] int java.lang.Object int
StackMap stack:
iload 5
ifle 15
14: aload 0
iconst_0
putfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
end local 5 end local 4 15: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 16 1 v TV;
3 16 2 values [Ljava/lang/Object;
4 16 3 prevCount I
7 15 4 prev TV;
8 15 5 c I
Signature: (TV;)Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
MethodParameters:
Name Flags
v
public org.apache.cassandra.utils.btree.BTree$Builder<V> addAll(java.util.Collection<V>);
descriptor: (Ljava/util/Collection;)Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
ifeq 2
aload 1
instanceof java.util.SortedSet
ifeq 2
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
aload 1
checkcast java.util.SortedSet
invokeinterface java.util.SortedSet.comparator:()Ljava/util/Comparator;
invokestatic org.apache.cassandra.utils.btree.BTree$Builder.equalComparators:(Ljava/util/Comparator;Ljava/util/Comparator;)Z
ifeq 2
1: aload 0
aload 1
aload 1
invokeinterface java.util.Collection.size:()I
invokevirtual org.apache.cassandra.utils.btree.BTree$Builder.mergeAll:(Ljava/lang/Iterable;I)Lorg/apache/cassandra/utils/btree/BTree$Builder;
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
3: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
arraylength
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
aload 1
invokeinterface java.util.Collection.size:()I
iadd
if_icmpge 5
4: aload 0
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
aload 1
invokeinterface java.util.Collection.size:()I
iadd
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
iconst_2
imul
invokestatic java.lang.Math.max:(II)I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
5: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.apache.cassandra.utils.btree.BTree$Builder java.util.Collection top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 7: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
aload 0
dup
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
dup_x1
iconst_1
iadd
putfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
aload 2
aastore
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 10 1 add Ljava/util/Collection<TV;>;
7 8 2 v TV;
Signature: (Ljava/util/Collection<TV;>;)Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
MethodParameters:
Name Flags
add
private static boolean equalComparators(java.util.Comparator<?>, java.util.Comparator<?>);
descriptor: (Ljava/util/Comparator;Ljava/util/Comparator;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpeq 2
aload 0
invokestatic org.apache.cassandra.utils.btree.BTree$Builder.isNaturalComparator:(Ljava/util/Comparator;)Z
ifeq 1
aload 1
invokestatic org.apache.cassandra.utils.btree.BTree$Builder.isNaturalComparator:(Ljava/util/Comparator;)Z
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a Ljava/util/Comparator<*>;
0 3 1 b Ljava/util/Comparator<*>;
Signature: (Ljava/util/Comparator<*>;Ljava/util/Comparator<*>;)Z
MethodParameters:
Name Flags
a
b
private static boolean isNaturalComparator(java.util.Comparator<?>);
descriptor: (Ljava/util/Comparator;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokestatic java.util.Comparator.naturalOrder:()Ljava/util/Comparator;
if_acmpeq 1
aload 0
invokestatic com.google.common.collect.Ordering.natural:()Lcom/google/common/collect/Ordering;
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a Ljava/util/Comparator<*>;
Signature: (Ljava/util/Comparator<*>;)Z
MethodParameters:
Name Flags
a
private org.apache.cassandra.utils.btree.BTree$Builder<V> mergeAll(java.lang.Iterable<V>, int);
descriptor: (Ljava/lang/Iterable;I)Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.cassandra.utils.btree.BTree$Builder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.cassandra.utils.btree.BTree$Builder.autoEnforce:()V
2: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
istore 3
start local 3 3: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
arraylength
iload 3
iconst_2
imul
iload 2
iadd
if_icmpge 5
4: aload 0
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 3
iconst_2
imul
iload 2
iadd
iload 3
iconst_3
imul
invokestatic java.lang.Math.max:(II)I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
5: StackMap locals: int
StackMap stack:
aload 1
instanceof org.apache.cassandra.utils.btree.BTreeSet
ifeq 8
6: aload 1
checkcast org.apache.cassandra.utils.btree.BTreeSet
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 3
invokevirtual org.apache.cassandra.utils.btree.BTreeSet.toArray:([Ljava/lang/Object;I)[Ljava/lang/Object;
pop
7: goto 13
8: StackMap locals:
StackMap stack:
iload 3
istore 4
start local 4 9: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: org.apache.cassandra.utils.btree.BTree$Builder java.lang.Iterable int int int top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 5
start local 5 11: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 4
iinc 4 1
aload 5
aastore
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 4 13: StackMap locals: org.apache.cassandra.utils.btree.BTree$Builder java.lang.Iterable int int
StackMap stack:
aload 0
iload 2
invokevirtual org.apache.cassandra.utils.btree.BTree$Builder.mergeAll:(I)Lorg/apache/cassandra/utils/btree/BTree$Builder;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 14 1 add Ljava/lang/Iterable<TV;>;
0 14 2 addCount I
3 14 3 curCount I
9 13 4 i I
11 12 5 v TV;
Signature: (Ljava/lang/Iterable<TV;>;I)Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
MethodParameters:
Name Flags
add
addCount
private org.apache.cassandra.utils.btree.BTree$Builder<V> mergeAll(int);
descriptor: (I)Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iload 3
istore 5
start local 5 4: iload 3
istore 6
start local 6 5: iload 3
iload 1
iadd
istore 7
start local 7 6: goto 19
7: StackMap locals: org.apache.cassandra.utils.btree.BTree$Builder int java.lang.Object[] int int int int int
StackMap stack:
aload 2
iload 4
aaload
astore 8
start local 8 8: aload 2
iload 5
aaload
astore 9
start local 9 9: aload 8
aload 9
if_acmpne 10
iconst_0
goto 11
StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
10: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
aload 8
aload 9
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
StackMap locals:
StackMap stack: int
11: istore 10
start local 10 12: iload 10
ifle 14
13: goto 20
14: StackMap locals: int
StackMap stack:
iload 10
ifne 18
15: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
ifnull 17
16: aload 2
iload 4
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
aload 8
aload 9
invokeinterface org.apache.cassandra.utils.btree.BTree$Builder$QuickResolver.resolve:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
aastore
17: StackMap locals:
StackMap stack:
iinc 5 1
18: StackMap locals:
StackMap stack:
iinc 4 1
end local 10 end local 9 end local 8 19: StackMap locals:
StackMap stack:
iload 4
iload 6
if_icmpge 20
iload 5
iload 7
if_icmplt 7
20: StackMap locals:
StackMap stack:
iload 5
iload 7
if_icmpne 22
21: aload 0
areturn
22: StackMap locals:
StackMap stack:
iload 4
istore 8
start local 8 23: aload 2
iload 4
aload 2
iload 7
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
iload 4
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
24: iload 7
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
iload 4
isub
iadd
istore 6
25: iload 7
istore 4
26: goto 41
27: StackMap locals: int
StackMap stack:
aload 2
iload 4
aaload
astore 9
start local 9 28: aload 2
iload 5
aaload
astore 10
start local 10 29: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
aload 9
aload 10
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 11
start local 11 30: iload 11
ifne 38
31: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
ifnonnull 32
aload 9
goto 33
StackMap locals: java.lang.Object java.lang.Object int
StackMap stack:
32: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
aload 9
aload 10
invokeinterface org.apache.cassandra.utils.btree.BTree$Builder$QuickResolver.resolve:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
33: astore 12
start local 12 34: aload 2
iload 8
iinc 8 1
aload 12
aastore
35: iinc 4 1
36: iinc 5 1
end local 12 37: goto 41
38: StackMap locals:
StackMap stack:
aload 2
iload 8
iinc 8 1
iload 11
ifge 39
aload 2
iload 4
iinc 4 1
aaload
goto 40
StackMap locals: org.apache.cassandra.utils.btree.BTree$Builder int java.lang.Object[] int int int int int int java.lang.Object java.lang.Object int
StackMap stack: java.lang.Object[] int
39: aload 2
iload 5
iinc 5 1
aaload
StackMap locals: org.apache.cassandra.utils.btree.BTree$Builder int java.lang.Object[] int int int int int int java.lang.Object java.lang.Object int
StackMap stack: java.lang.Object[] int java.lang.Object
40: aastore
end local 11 end local 10 end local 9 41: StackMap locals:
StackMap stack:
iload 4
iload 6
if_icmpge 42
iload 5
iload 7
if_icmplt 27
42: StackMap locals:
StackMap stack:
iload 4
iload 6
if_icmpge 46
43: aload 2
iload 4
aload 2
iload 8
iload 6
iload 4
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
44: iload 8
iload 6
iload 4
isub
iadd
istore 8
45: goto 50
46: StackMap locals:
StackMap stack:
iload 5
iload 7
if_icmpge 50
47: iload 5
iload 8
if_icmpeq 49
48: aload 2
iload 5
aload 2
iload 8
iload 7
iload 5
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
49: StackMap locals:
StackMap stack:
iload 8
iload 7
iload 5
isub
iadd
istore 8
50: StackMap locals:
StackMap stack:
aload 0
iload 8
putfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
51: aload 0
areturn
end local 8 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 52 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 52 1 addCount I
1 52 2 a [Ljava/lang/Object;
2 52 3 addOffset I
3 52 4 i I
4 52 5 j I
5 52 6 curEnd I
6 52 7 addEnd I
8 19 8 ai TV;
9 19 9 aj TV;
12 19 10 c I
23 52 8 newCount I
28 41 9 ai TV;
29 41 10 aj TV;
30 41 11 c I
34 37 12 newValue Ljava/lang/Object;
Signature: (I)Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
MethodParameters:
Name Flags
addCount
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count: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 Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
public org.apache.cassandra.utils.btree.BTree$Builder<V> reverse();
descriptor: ()Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: getstatic org.apache.cassandra.utils.btree.BTree$Builder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
iconst_2
idiv
istore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 2
aaload
astore 3
start local 3 5: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 2
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
iconst_1
iload 2
iadd
isub
aaload
aastore
6: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
iconst_1
iload 2
iadd
isub
aload 3
aastore
end local 3 7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 1
if_icmplt 4
end local 2 9: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
2 10 1 mid I
3 9 2 i I
5 7 3 t Ljava/lang/Object;
Signature: ()Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
public org.apache.cassandra.utils.btree.BTree$Builder<V> sort();
descriptor: ()Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iconst_0
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;IILjava/util/Comparator;)V
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
Signature: ()Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
private void autoEnforce();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
ifne 14
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
iconst_1
if_icmple 14
1: aload 0
invokevirtual org.apache.cassandra.utils.btree.BTree$Builder.sort:()Lorg/apache/cassandra/utils/btree/BTree$Builder;
pop
2: iconst_0
istore 1
start local 1 3: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iconst_0
aaload
astore 2
start local 2 4: iconst_1
istore 3
start local 3 5: goto 12
6: StackMap locals: int java.lang.Object int
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 3
aaload
astore 4
start local 4 7: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
aload 2
aload 4
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifeq 9
8: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iinc 1 1
iload 1
aload 4
dup
astore 2
aastore
goto 11
9: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
ifnull 11
10: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 1
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.quickResolver:Lorg/apache/cassandra/utils/btree/BTree$Builder$QuickResolver;
aload 2
aload 4
invokeinterface org.apache.cassandra.utils.btree.BTree$Builder$QuickResolver.resolve:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 2
aastore
end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
if_icmplt 6
end local 3 13: aload 0
iload 1
iconst_1
iadd
putfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
end local 2 end local 1 14: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.cassandra.utils.btree.BTree$Builder.detected:Z
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
3 14 1 prevIdx I
4 14 2 prev TV;
5 13 3 i I
7 11 4 next TV;
public org.apache.cassandra.utils.btree.BTree$Builder<V> resolve(org.apache.cassandra.utils.btree.BTree$Builder$Resolver);
descriptor: (Lorg/apache/cassandra/utils/btree/BTree$Builder$Resolver;)Lorg/apache/cassandra/utils/btree/BTree$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
ifle 12
1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_1
istore 4
start local 4 4: goto 9
5: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.comparator:Ljava/util/Comparator;
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 4
aaload
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 3
aaload
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifeq 8
6: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 2
iinc 2 1
aload 1
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 3
iload 4
invokeinterface org.apache.cassandra.utils.btree.BTree$Builder$Resolver.resolve:([Ljava/lang/Object;II)Ljava/lang/Object;
aastore
7: iload 4
istore 3
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
if_icmplt 5
end local 4 10: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 2
iinc 2 1
aload 1
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
iload 3
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
invokeinterface org.apache.cassandra.utils.btree.BTree$Builder$Resolver.resolve:([Ljava/lang/Object;II)Ljava/lang/Object;
aastore
11: aload 0
iload 2
putfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
end local 3 end local 2 12: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
0 13 1 resolver Lorg/apache/cassandra/utils/btree/BTree$Builder$Resolver;
2 12 2 c I
3 12 3 prev I
4 10 4 i I
Signature: (Lorg/apache/cassandra/utils/btree/BTree$Builder$Resolver;)Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
MethodParameters:
Name Flags
resolver
public java.lang.Object[] build();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.auto:Z
ifeq 2
1: aload 0
invokevirtual org.apache.cassandra.utils.btree.BTree$Builder.autoEnforce:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.values:[Ljava/lang/Object;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
aload 0
getfield org.apache.cassandra.utils.btree.BTree$Builder.count:I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokestatic org.apache.cassandra.utils.btree.UpdateFunction.noOp:()Lorg/apache/cassandra/utils/btree/UpdateFunction;
invokestatic org.apache.cassandra.utils.btree.BTree.build:(Ljava/util/Collection;Lorg/apache/cassandra/utils/btree/UpdateFunction;)[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/utils/btree/BTree$Builder<TV;>;
}
Signature: <V:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "BTree.java"
NestHost: org.apache.cassandra.utils.btree.BTree
InnerClasses:
public Builder = org.apache.cassandra.utils.btree.BTree$Builder of org.apache.cassandra.utils.btree.BTree
public abstract QuickResolver = org.apache.cassandra.utils.btree.BTree$Builder$QuickResolver of org.apache.cassandra.utils.btree.BTree$Builder
public abstract Resolver = org.apache.cassandra.utils.btree.BTree$Builder$Resolver of org.apache.cassandra.utils.btree.BTree$Builder