class org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted<T> implements java.lang.Comparable<org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted<T>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted
super_class: java.lang.Object
{
final double weight;
descriptor: D
flags: (0x0010) ACC_FINAL
final T value;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Signature: TT;
public void <init>(double, );
descriptor: (DLjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
dload 1
putfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted.weight:D
2: aload 0
aload 3
putfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted.value:Ljava/lang/Object;
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$Weighted<TT;>;
0 4 1 weight D
0 4 3 value TT;
Signature: (DTT;)V
MethodParameters:
Name Flags
weight
value
public int compareTo(org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted<T>);
descriptor: (Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$Weighted;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted.weight:D
aload 0
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted.weight:D
invokestatic java.lang.Double.compare:(DD)I
istore 2
start local 2 1: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$Weighted<TT;>;
0 2 1 o Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$Weighted<TT;>;
1 2 2 cmp I
Signature: (Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$Weighted<TT;>;)I
MethodParameters:
Name Flags
o
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "%s<%s>"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted.value:Ljava/lang/Object;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted.weight:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$Weighted<TT;>;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted
invokevirtual org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted.compareTo:(Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$Weighted;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/lang/Comparable<Lorg/apache/cassandra/dht/tokenallocator/TokenAllocatorBase$Weighted<TT;>;>;
SourceFile: "TokenAllocatorBase.java"
NestHost: org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase
InnerClasses:
Weighted = org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase$Weighted of org.apache.cassandra.dht.tokenallocator.TokenAllocatorBase