abstract class org.apache.cassandra.dht.ComparableObjectToken<C extends java.lang.Comparable<C>> extends org.apache.cassandra.dht.Token
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.cassandra.dht.ComparableObjectToken
super_class: org.apache.cassandra.dht.Token
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
final C token;
descriptor: Ljava/lang/Comparable;
flags: (0x0010) ACC_FINAL
Signature: TC;
protected void <init>();
descriptor: (Ljava/lang/Comparable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.cassandra.dht.Token.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.dht.ComparableObjectToken.token:Ljava/lang/Comparable;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/dht/ComparableObjectToken<TC;>;
0 3 1 token TC;
Signature: (TC;)V
MethodParameters:
Name Flags
token
public C getTokenValue();
descriptor: ()Ljava/lang/Comparable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.dht.ComparableObjectToken.token:Ljava/lang/Comparable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/ComparableObjectToken<TC;>;
Signature: ()TC;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.dht.ComparableObjectToken.token:Ljava/lang/Comparable;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/ComparableObjectToken<TC;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.dht.ComparableObjectToken.token:Ljava/lang/Comparable;
aload 1
checkcast org.apache.cassandra.dht.ComparableObjectToken
getfield org.apache.cassandra.dht.ComparableObjectToken.token:Ljava/lang/Comparable;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/dht/ComparableObjectToken<TC;>;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.dht.ComparableObjectToken.token:Ljava/lang/Comparable;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/dht/ComparableObjectToken<TC;>;
public int compareTo(org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/dht/Token;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Invalid type of Token.compareTo() argument."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.dht.ComparableObjectToken.token:Ljava/lang/Comparable;
aload 1
checkcast org.apache.cassandra.dht.ComparableObjectToken
getfield org.apache.cassandra.dht.ComparableObjectToken.token:Ljava/lang/Comparable;
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/dht/ComparableObjectToken<TC;>;
0 3 1 o Lorg/apache/cassandra/dht/Token;
MethodParameters:
Name Flags
o
public double size(org.apache.cassandra.dht.Token);
descriptor: (Lorg/apache/cassandra/dht/Token;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "Token type %s does not support token allocation."
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/dht/ComparableObjectToken<TC;>;
0 3 1 next Lorg/apache/cassandra/dht/Token;
MethodParameters:
Name Flags
next
public org.apache.cassandra.dht.Token increaseSlightly();
descriptor: ()Lorg/apache/cassandra/dht/Token;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Token type %s does not support token allocation."
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/dht/ComparableObjectToken<TC;>;
public java.lang.Object getTokenValue();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.cassandra.dht.ComparableObjectToken.getTokenValue:()Ljava/lang/Comparable;
areturn
LocalVariableTable:
Start End Slot Name Signature
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.Token
invokevirtual org.apache.cassandra.dht.ComparableObjectToken.compareTo:(Lorg/apache/cassandra/dht/Token;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <C::Ljava/lang/Comparable<TC;>;>Lorg/apache/cassandra/dht/Token;
SourceFile: "ComparableObjectToken.java"