public class org.apache.cassandra.db.Slices$Builder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.db.Slices$Builder
super_class: java.lang.Object
{
private final org.apache.cassandra.db.ClusteringComparator comparator;
descriptor: Lorg/apache/cassandra/db/ClusteringComparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.apache.cassandra.db.Slice> slices;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/cassandra/db/Slice;>;
private boolean needsNormalizing;
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/Slices;
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.Slices$Builder.$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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.db.Slices$Builder.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Slices$Builder;
0 4 1 comparator Lorg/apache/cassandra/db/ClusteringComparator;
MethodParameters:
Name Flags
comparator
public void <init>(org.apache.cassandra.db.ClusteringComparator, int);
descriptor: (Lorg/apache/cassandra/db/ClusteringComparator;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
aload 1
putfield org.apache.cassandra.db.Slices$Builder.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
2: aload 0
new java.util.ArrayList
dup
iload 2
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/db/Slices$Builder;
0 4 1 comparator Lorg/apache/cassandra/db/ClusteringComparator;
0 4 2 initialSize I
MethodParameters:
Name Flags
comparator
initialSize
public org.apache.cassandra.db.Slices$Builder add(org.apache.cassandra.db.ClusteringBound, org.apache.cassandra.db.ClusteringBound);
descriptor: (Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;)Lorg/apache/cassandra/db/Slices$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.apache.cassandra.db.Slice.make:(Lorg/apache/cassandra/db/ClusteringBound;Lorg/apache/cassandra/db/ClusteringBound;)Lorg/apache/cassandra/db/Slice;
invokevirtual org.apache.cassandra.db.Slices$Builder.add:(Lorg/apache/cassandra/db/Slice;)Lorg/apache/cassandra/db/Slices$Builder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Slices$Builder;
0 1 1 start Lorg/apache/cassandra/db/ClusteringBound;
0 1 2 end Lorg/apache/cassandra/db/ClusteringBound;
MethodParameters:
Name Flags
start
end
public org.apache.cassandra.db.Slices$Builder add(org.apache.cassandra.db.Slice);
descriptor: (Lorg/apache/cassandra/db/Slice;)Lorg/apache/cassandra/db/Slices$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.cassandra.db.Slices$Builder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.cassandra.db.Slices$Builder.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 1
invokevirtual org.apache.cassandra.db.Slice.start:()Lorg/apache/cassandra/db/ClusteringBound;
aload 1
invokevirtual org.apache.cassandra.db.Slice.end:()Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringComparator.compare:(Lorg/apache/cassandra/db/ClusteringPrefix;Lorg/apache/cassandra/db/ClusteringPrefix;)I
ifle 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.Slices$Builder.slices:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 3
aload 0
getfield org.apache.cassandra.db.Slices$Builder.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 0
getfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
aload 0
getfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice
invokevirtual org.apache.cassandra.db.Slice.end:()Lorg/apache/cassandra/db/ClusteringBound;
aload 1
invokevirtual org.apache.cassandra.db.Slice.start:()Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringComparator.compare:(Lorg/apache/cassandra/db/ClusteringPrefix;Lorg/apache/cassandra/db/ClusteringPrefix;)I
ifle 3
2: aload 0
iconst_1
putfield org.apache.cassandra.db.Slices$Builder.needsNormalizing:Z
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/Slices$Builder;
0 5 1 slice Lorg/apache/cassandra/db/Slice;
MethodParameters:
Name Flags
slice
public org.apache.cassandra.db.Slices$Builder addAll(org.apache.cassandra.db.Slices);
descriptor: (Lorg/apache/cassandra/db/Slices;)Lorg/apache/cassandra/db/Slices$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.cassandra.db.Slices.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.apache.cassandra.db.Slices$Builder org.apache.cassandra.db.Slices top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.apache.cassandra.db.Slices$Builder.add:(Lorg/apache/cassandra/db/Slice;)Lorg/apache/cassandra/db/Slices$Builder;
pop
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/db/Slices$Builder;
0 5 1 slices Lorg/apache/cassandra/db/Slices;
2 3 2 slice Lorg/apache/cassandra/db/Slice;
MethodParameters:
Name Flags
slices
public int size();
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.Slices$Builder.slices:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Slices$Builder;
public org.apache.cassandra.db.Slices build();
descriptor: ()Lorg/apache/cassandra/db/Slices;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: getstatic org.apache.cassandra.db.Slices.NONE:Lorg/apache/cassandra/db/Slices;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 4
aload 0
getfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
getstatic org.apache.cassandra.db.Slice.ALL:Lorg/apache/cassandra/db/Slice;
if_acmpne 4
3: getstatic org.apache.cassandra.db.Slices.ALL:Lorg/apache/cassandra/db/Slices;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.Slices$Builder.needsNormalizing:Z
ifeq 6
5: aload 0
aload 0
getfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
invokevirtual org.apache.cassandra.db.Slices$Builder.normalize:(Ljava/util/List;)Ljava/util/List;
goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.db.Slices$Builder.slices:Ljava/util/List;
7: StackMap locals:
StackMap stack: java.util.List
astore 1
start local 1 8: new org.apache.cassandra.db.Slices$ArrayBackedSlices
dup
aload 0
getfield org.apache.cassandra.db.Slices$Builder.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray org.apache.cassandra.db.Slice
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice[]
invokespecial org.apache.cassandra.db.Slices$ArrayBackedSlices.<init>:(Lorg/apache/cassandra/db/ClusteringComparator;[Lorg/apache/cassandra/db/Slice;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/db/Slices$Builder;
8 9 1 normalized Ljava/util/List<Lorg/apache/cassandra/db/Slice;>;
private java.util.List<org.apache.cassandra.db.Slice> normalize(java.util.List<org.apache.cassandra.db.Slice>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
iconst_1
if_icmpgt 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
new org.apache.cassandra.db.Slices$Builder$1
dup
aload 0
invokespecial org.apache.cassandra.db.Slices$Builder$1.<init>:(Lorg/apache/cassandra/db/Slices$Builder;)V
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
3: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 4: aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice
astore 3
start local 3 5: iconst_1
istore 4
start local 4 6: goto 21
7: StackMap locals: java.util.List org.apache.cassandra.db.Slice int
StackMap stack:
aload 1
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.cassandra.db.Slice
astore 5
start local 5 8: aload 3
aload 0
getfield org.apache.cassandra.db.Slices$Builder.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 5
invokevirtual org.apache.cassandra.db.Slice.start:()Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.Slice.includes:(Lorg/apache/cassandra/db/ClusteringComparator;Lorg/apache/cassandra/db/ClusteringPrefix;)Z
istore 6
start local 6 9: aload 3
aload 0
getfield org.apache.cassandra.db.Slices$Builder.comparator:Lorg/apache/cassandra/db/ClusteringComparator;
aload 5
invokevirtual org.apache.cassandra.db.Slice.end:()Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.Slice.includes:(Lorg/apache/cassandra/db/ClusteringComparator;Lorg/apache/cassandra/db/ClusteringPrefix;)Z
istore 7
start local 7 10: iload 6
ifeq 12
iload 7
ifeq 12
11: goto 20
12: StackMap locals: org.apache.cassandra.db.Slice int int
StackMap stack:
iload 6
ifne 16
iload 7
ifne 16
13: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 5
astore 3
15: goto 20
16: StackMap locals:
StackMap stack:
iload 6
ifeq 19
17: aload 3
invokevirtual org.apache.cassandra.db.Slice.start:()Lorg/apache/cassandra/db/ClusteringBound;
aload 5
invokevirtual org.apache.cassandra.db.Slice.end:()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;
astore 3
18: goto 20
19: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.db.Slices$Builder.$assertionsDisabled:Z
ifne 20
iload 7
ifeq 20
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 7 end local 6 end local 5 20: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
21: iload 4
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 7
end local 4 22: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/cassandra/db/Slices$Builder;
0 24 1 slices Ljava/util/List<Lorg/apache/cassandra/db/Slice;>;
4 24 2 slicesCopy Ljava/util/List<Lorg/apache/cassandra/db/Slice;>;
5 24 3 last Lorg/apache/cassandra/db/Slice;
6 22 4 i I
8 20 5 s2 Lorg/apache/cassandra/db/Slice;
9 20 6 includesStart Z
10 20 7 includesFinish Z
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/Slice;>;)Ljava/util/List<Lorg/apache/cassandra/db/Slice;>;
MethodParameters:
Name Flags
slices
}
SourceFile: "Slices.java"
NestHost: org.apache.cassandra.db.Slices
InnerClasses:
private ArrayBackedSlices = org.apache.cassandra.db.Slices$ArrayBackedSlices of org.apache.cassandra.db.Slices
public Builder = org.apache.cassandra.db.Slices$Builder of org.apache.cassandra.db.Slices
org.apache.cassandra.db.Slices$Builder$1