class org.apache.cassandra.db.LegacyLayout$LegacyBoundComparator implements java.util.Comparator<org.apache.cassandra.db.LegacyLayout$LegacyBound>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.LegacyLayout$LegacyBoundComparator
super_class: java.lang.Object
{
org.apache.cassandra.db.ClusteringComparator clusteringComparator;
descriptor: Lorg/apache/cassandra/db/ClusteringComparator;
flags: (0x0000)
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 java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.db.LegacyLayout$LegacyBoundComparator.clusteringComparator:Lorg/apache/cassandra/db/ClusteringComparator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/db/LegacyLayout$LegacyBoundComparator;
0 3 1 clusteringComparator Lorg/apache/cassandra/db/ClusteringComparator;
MethodParameters:
Name Flags
clusteringComparator
public int compare(org.apache.cassandra.db.LegacyLayout$LegacyBound, org.apache.cassandra.db.LegacyLayout$LegacyBound);
descriptor: (Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic org.apache.cassandra.db.LegacyLayout$LegacyBound.BOTTOM:Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
if_acmpne 4
1: aload 2
getstatic org.apache.cassandra.db.LegacyLayout$LegacyBound.BOTTOM:Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
if_acmpne 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 2
getstatic org.apache.cassandra.db.LegacyLayout$LegacyBound.BOTTOM:Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
if_acmpne 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.isStatic:Z
aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.isStatic:Z
if_icmpeq 10
7: aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.isStatic:Z
ifeq 8
iconst_m1
goto 9
StackMap locals:
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: ireturn
10: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.size:()I
istore 3
start local 3 11: aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.size:()I
istore 4
start local 4 12: iconst_0
istore 5
start local 5 13: goto 18
14: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.apache.cassandra.db.LegacyLayout$LegacyBoundComparator.clusteringComparator:Lorg/apache/cassandra/db/ClusteringComparator;
iload 5
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
iload 5
invokevirtual org.apache.cassandra.db.ClusteringBound.get:(I)Ljava/nio/ByteBuffer;
aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
iload 5
invokevirtual org.apache.cassandra.db.ClusteringBound.get:(I)Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.ClusteringComparator.compareComponent:(ILjava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
istore 6
start local 6 15: iload 6
ifeq 17
16: iload 6
ireturn
end local 6 17: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
18: iload 5
iload 3
iload 4
invokestatic java.lang.Math.min:(II)I
if_icmplt 14
end local 5 19: iload 3
iload 4
if_icmpeq 23
20: iload 3
iload 4
if_icmpge 21
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.kind:()Lorg/apache/cassandra/db/ClusteringPrefix$Kind;
getfield org.apache.cassandra.db.ClusteringPrefix$Kind.comparedToClustering:I
goto 22
StackMap locals:
StackMap stack:
21: aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.kind:()Lorg/apache/cassandra/db/ClusteringPrefix$Kind;
getfield org.apache.cassandra.db.ClusteringPrefix$Kind.comparedToClustering:I
ineg
StackMap locals:
StackMap stack: int
22: ireturn
23: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.collectionName:Lorg/apache/cassandra/config/ColumnDefinition;
ifnonnull 24
iconst_1
goto 25
StackMap locals:
StackMap stack:
24: iconst_0
StackMap locals:
StackMap stack: int
25: aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.collectionName:Lorg/apache/cassandra/config/ColumnDefinition;
ifnonnull 26
iconst_1
goto 27
StackMap locals:
StackMap stack: int
26: iconst_0
StackMap locals: org.apache.cassandra.db.LegacyLayout$LegacyBoundComparator org.apache.cassandra.db.LegacyLayout$LegacyBound org.apache.cassandra.db.LegacyLayout$LegacyBound int int
StackMap stack: int int
27: if_icmpeq 31
28: aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.collectionName:Lorg/apache/cassandra/config/ColumnDefinition;
ifnonnull 29
iconst_m1
goto 30
StackMap locals:
StackMap stack:
29: iconst_1
StackMap locals:
StackMap stack: int
30: ireturn
31: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.collectionName:Lorg/apache/cassandra/config/ColumnDefinition;
ifnull 35
32: getstatic org.apache.cassandra.db.marshal.UTF8Type.instance:Lorg/apache/cassandra/db/marshal/UTF8Type;
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.collectionName:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.collectionName:Lorg/apache/cassandra/config/ColumnDefinition;
getfield org.apache.cassandra.config.ColumnDefinition.name:Lorg/apache/cassandra/cql3/ColumnIdentifier;
getfield org.apache.cassandra.cql3.ColumnIdentifier.bytes:Ljava/nio/ByteBuffer;
invokevirtual org.apache.cassandra.db.marshal.UTF8Type.compare:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
istore 5
start local 5 33: iload 5
ifeq 35
34: iload 5
ireturn
end local 5 35: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.kind:()Lorg/apache/cassandra/db/ClusteringPrefix$Kind;
aload 2
getfield org.apache.cassandra.db.LegacyLayout$LegacyBound.bound:Lorg/apache/cassandra/db/ClusteringBound;
invokevirtual org.apache.cassandra.db.ClusteringBound.kind:()Lorg/apache/cassandra/db/ClusteringPrefix$Kind;
invokestatic org.apache.cassandra.db.ClusteringPrefix$Kind.compare:(Lorg/apache/cassandra/db/ClusteringPrefix$Kind;Lorg/apache/cassandra/db/ClusteringPrefix$Kind;)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/apache/cassandra/db/LegacyLayout$LegacyBoundComparator;
0 36 1 a Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
0 36 2 b Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;
11 36 3 sa I
12 36 4 sb I
13 19 5 i I
15 17 6 cmp I
33 35 5 cmp I
MethodParameters:
Name Flags
a
b
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.apache.cassandra.db.LegacyLayout$LegacyBound
aload 2
checkcast org.apache.cassandra.db.LegacyLayout$LegacyBound
invokevirtual org.apache.cassandra.db.LegacyLayout$LegacyBoundComparator.compare:(Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Lorg/apache/cassandra/db/LegacyLayout$LegacyBound;>;
SourceFile: "LegacyLayout.java"
NestHost: org.apache.cassandra.db.LegacyLayout
InnerClasses:
public final Kind = org.apache.cassandra.db.ClusteringPrefix$Kind of org.apache.cassandra.db.ClusteringPrefix
public LegacyBound = org.apache.cassandra.db.LegacyLayout$LegacyBound of org.apache.cassandra.db.LegacyLayout
private LegacyBoundComparator = org.apache.cassandra.db.LegacyLayout$LegacyBoundComparator of org.apache.cassandra.db.LegacyLayout