class org.apache.cassandra.db.CBuilder$ArrayBackedBuilder extends org.apache.cassandra.db.CBuilder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.CBuilder$ArrayBackedBuilder
super_class: org.apache.cassandra.db.CBuilder
{
private final org.apache.cassandra.db.ClusteringComparator type;
descriptor: Lorg/apache/cassandra/db/ClusteringComparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer[] values;
descriptor: [Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean built;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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/db/CBuilder;
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.db.CBuilder$ArrayBackedBuilder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.cassandra.db.ClusteringComparator);
descriptor: (Lorg/apache/cassandra/db/ClusteringComparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.cassandra.db.CBuilder.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.type:Lorg/apache/cassandra/db/ClusteringComparator;
2: aload 0
aload 1
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
anewarray java.nio.ByteBuffer
putfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
0 4 1 type Lorg/apache/cassandra/db/ClusteringComparator;
MethodParameters:
Name Flags
type
public int count();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
public int remainingCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
arraylength
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
public org.apache.cassandra.db.ClusteringComparator comparator();
descriptor: ()Lorg/apache/cassandra/db/ClusteringComparator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.type:Lorg/apache/cassandra/db/ClusteringComparator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
public org.apache.cassandra.db.CBuilder add(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/CBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.isDone:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
aload 0
dup
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
dup_x1
iconst_1
iadd
putfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
aload 1
aastore
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
0 4 1 value Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
value
public org.apache.cassandra.db.CBuilder add(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/apache/cassandra/db/CBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.type:Lorg/apache/cassandra/db/ClusteringComparator;
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
invokevirtual org.apache.cassandra.db.ClusteringComparator.subtype:(I)Lorg/apache/cassandra/db/marshal/AbstractType;
aload 1
invokevirtual org.apache.cassandra.db.marshal.AbstractType.decompose:(Ljava/lang/Object;)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.add:(Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/CBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
0 1 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
private boolean isDone();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.remainingCount:()I
ifeq 1
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.built:Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
public org.apache.cassandra.db.Clustering build();
descriptor: ()Lorg/apache/cassandra/db/Clustering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.built:Z
1: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
ifne 2
getstatic org.apache.cassandra.db.Clustering.EMPTY:Lorg/apache/cassandra/db/Clustering;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
StackMap locals:
StackMap stack: org.apache.cassandra.db.Clustering
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
public org.apache.cassandra.db.ClusteringBound buildBound(boolean, boolean);
descriptor: (ZZ)Lorg/apache/cassandra/db/ClusteringBound;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
putfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.built:Z
1: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
ifne 5
2: iload 1
ifeq 3
getstatic org.apache.cassandra.db.ClusteringBound.BOTTOM:Lorg/apache/cassandra/db/ClusteringBound;
goto 4
StackMap locals:
StackMap stack:
3: getstatic org.apache.cassandra.db.ClusteringBound.TOP:Lorg/apache/cassandra/db/ClusteringBound;
StackMap locals:
StackMap stack: org.apache.cassandra.db.ClusteringBound
4: areturn
5: StackMap locals:
StackMap stack:
iload 1
iload 2
invokestatic org.apache.cassandra.db.ClusteringBound.boundKind:(ZZ)Lorg/apache/cassandra/db/ClusteringPrefix$Kind;
6: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
arraylength
if_icmpne 7
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
goto 8
StackMap locals:
StackMap stack: org.apache.cassandra.db.ClusteringPrefix$Kind
7: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
iconst_0
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
invokestatic java.util.Arrays.copyOfRange:([Ljava/lang/Object;II)[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
8: StackMap locals: org.apache.cassandra.db.CBuilder$ArrayBackedBuilder int int
StackMap stack: org.apache.cassandra.db.ClusteringPrefix$Kind java.nio.ByteBuffer[]
invokestatic org.apache.cassandra.db.ClusteringBound.create:(Lorg/apache/cassandra/db/ClusteringPrefix$Kind;[Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/ClusteringBound;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
0 9 1 isStart Z
0 9 2 isInclusive Z
MethodParameters:
Name Flags
isStart
isInclusive
public org.apache.cassandra.db.Slice buildSlice();
descriptor: ()Lorg/apache/cassandra/db/Slice;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.built:Z
1: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
ifne 3
2: getstatic org.apache.cassandra.db.Slice.ALL:Lorg/apache/cassandra/db/Slice;
areturn
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
iconst_1
invokevirtual org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.buildBound:(ZZ)Lorg/apache/cassandra/db/ClusteringBound;
aload 0
iconst_0
iconst_1
invokevirtual org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.buildBound:(ZZ)Lorg/apache/cassandra/db/ClusteringBound;
invokestatic org.apache.cassandra.db.Slice.make:(Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;)Lorg/apache/cassandra/db/Slice;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
public org.apache.cassandra.db.Clustering buildWith(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
iconst_1
iadd
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.type:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.type:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
astore 2
start local 2 2: aload 2
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
aload 1
aastore
3: aload 2
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
0 4 1 value Ljava/nio/ByteBuffer;
2 4 2 newValues [Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
value
public org.apache.cassandra.db.Clustering buildWith(java.util.List<java.nio.ByteBuffer>);
descriptor: (Ljava/util/List;)Lorg/apache/cassandra/db/Clustering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
aload 1
invokeinterface java.util.List.size:()I
iadd
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.type:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.type:Lorg/apache/cassandra/db/ClusteringComparator;
invokevirtual org.apache.cassandra.db.ClusteringComparator.size:()I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
astore 2
start local 2 2: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
istore 3
start local 3 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.apache.cassandra.db.CBuilder$ArrayBackedBuilder java.util.List java.nio.ByteBuffer[] int top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 4
start local 4 5: aload 2
iload 3
iinc 3 1
aload 4
aastore
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 2
invokestatic org.apache.cassandra.db.Clustering.make:([Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/Clustering;
areturn
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/db/CBuilder$ArrayBackedBuilder;
0 8 1 newValues Ljava/util/List<Ljava/nio/ByteBuffer;>;
2 8 2 buffers [Ljava/nio/ByteBuffer;
3 8 3 newSize I
5 6 4 value Ljava/nio/ByteBuffer;
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;)Lorg/apache/cassandra/db/Clustering;
MethodParameters:
Name Flags
newValues
public org.apache.cassandra.db.ClusteringBound buildBoundWith(java.nio.ByteBuffer, boolean, boolean);
descriptor: (Ljava/nio/ByteBuffer;ZZ)Lorg/apache/cassandra/db/ClusteringBound;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
iconst_1
iadd
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
astore 4
start local 4 1: aload 4
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
aload 1
aastore
2: iload 2
iload 3
invokestatic org.apache.cassandra.db.ClusteringBound.boundKind:(ZZ)Lorg/apache/cassandra/db/ClusteringPrefix$Kind;
aload 4
invokestatic org.apache.cassandra.db.ClusteringBound.create:(Lorg/apache/cassandra/db/ClusteringPrefix$Kind;[Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/ClusteringBound;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
0 3 1 value Ljava/nio/ByteBuffer;
0 3 2 isStart Z
0 3 3 isInclusive Z
1 3 4 newValues [Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
value
isStart
isInclusive
public org.apache.cassandra.db.ClusteringBound buildBoundWith(java.util.List<java.nio.ByteBuffer>, boolean, boolean);
descriptor: (Ljava/util/List;ZZ)Lorg/apache/cassandra/db/ClusteringBound;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.values:[Ljava/nio/ByteBuffer;
aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
aload 1
invokeinterface java.util.List.size:()I
iadd
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.nio.ByteBuffer[]
astore 4
start local 4 1: aload 0
getfield org.apache.cassandra.db.CBuilder$ArrayBackedBuilder.size:I
istore 5
start local 5 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 5
StackMap locals: org.apache.cassandra.db.CBuilder$ArrayBackedBuilder java.util.List int int java.nio.ByteBuffer[] int top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 6
start local 6 4: aload 4
iload 5
iinc 5 1
aload 6
aastore
end local 6 5: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: iload 2
iload 3
invokestatic org.apache.cassandra.db.ClusteringBound.boundKind:(ZZ)Lorg/apache/cassandra/db/ClusteringPrefix$Kind;
aload 4
invokestatic org.apache.cassandra.db.ClusteringBound.create:(Lorg/apache/cassandra/db/ClusteringPrefix$Kind;[Ljava/nio/ByteBuffer;)Lorg/apache/cassandra/db/ClusteringBound;
areturn
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 7 0 this Lorg/apache/cassandra/db/CBuilder$ArrayBackedBuilder;
0 7 1 newValues Ljava/util/List<Ljava/nio/ByteBuffer;>;
0 7 2 isStart Z
0 7 3 isInclusive Z
1 7 4 buffers [Ljava/nio/ByteBuffer;
2 7 5 newSize I
4 5 6 value Ljava/nio/ByteBuffer;
Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;ZZ)Lorg/apache/cassandra/db/ClusteringBound;
MethodParameters:
Name Flags
newValues
isStart
isInclusive
}
SourceFile: "CBuilder.java"
NestHost: org.apache.cassandra.db.CBuilder
InnerClasses:
private ArrayBackedBuilder = org.apache.cassandra.db.CBuilder$ArrayBackedBuilder of org.apache.cassandra.db.CBuilder
public final Kind = org.apache.cassandra.db.ClusteringPrefix$Kind of org.apache.cassandra.db.ClusteringPrefix