class org.apache.cassandra.io.sstable.IndexSummaryRedistribution$ReadRateComparator implements java.util.Comparator<org.apache.cassandra.io.sstable.format.SSTableReader>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.io.sstable.IndexSummaryRedistribution$ReadRateComparator
super_class: java.lang.Object
{
private final java.util.Map<org.apache.cassandra.io.sstable.format.SSTableReader, java.lang.Double> readRates;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/lang/Double;>;
void <init>(java.util.Map<org.apache.cassandra.io.sstable.format.SSTableReader, java.lang.Double>);
descriptor: (Ljava/util/Map;)V
flags: (0x0000)
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.io.sstable.IndexSummaryRedistribution$ReadRateComparator.readRates:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/io/sstable/IndexSummaryRedistribution$ReadRateComparator;
0 3 1 readRates Ljava/util/Map<Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/lang/Double;>;
Signature: (Ljava/util/Map<Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/lang/Double;>;)V
MethodParameters:
Name Flags
readRates
public int compare(org.apache.cassandra.io.sstable.format.SSTableReader, org.apache.cassandra.io.sstable.format.SSTableReader);
descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.io.sstable.IndexSummaryRedistribution$ReadRateComparator.readRates:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Double
astore 3
start local 3 1: aload 0
getfield org.apache.cassandra.io.sstable.IndexSummaryRedistribution$ReadRateComparator.readRates:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Double
astore 4
start local 4 2: aload 3
ifnonnull 4
aload 4
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals: java.lang.Double java.lang.Double
StackMap stack:
aload 3
ifnonnull 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
aload 4
ifnonnull 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Double.doubleValue:()D
aload 4
invokevirtual java.lang.Double.doubleValue:()D
invokestatic java.lang.Double.compare:(DD)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/cassandra/io/sstable/IndexSummaryRedistribution$ReadRateComparator;
0 9 1 o1 Lorg/apache/cassandra/io/sstable/format/SSTableReader;
0 9 2 o2 Lorg/apache/cassandra/io/sstable/format/SSTableReader;
1 9 3 readRate1 Ljava/lang/Double;
2 9 4 readRate2 Ljava/lang/Double;
MethodParameters:
Name Flags
o1
o2
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.io.sstable.format.SSTableReader
aload 2
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
invokevirtual org.apache.cassandra.io.sstable.IndexSummaryRedistribution$ReadRateComparator.compare:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/io/sstable/format/SSTableReader;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
SourceFile: "IndexSummaryRedistribution.java"
NestHost: org.apache.cassandra.io.sstable.IndexSummaryRedistribution
InnerClasses:
private ReadRateComparator = org.apache.cassandra.io.sstable.IndexSummaryRedistribution$ReadRateComparator of org.apache.cassandra.io.sstable.IndexSummaryRedistribution