public class org.apache.cassandra.utils.Pair<T1, T2>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.Pair
super_class: java.lang.Object
{
public final T1 left;
descriptor: Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: TT1;
public final T2 right;
descriptor: Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: TT2;
protected void <init>(T1, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, 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.utils.Pair.left:Ljava/lang/Object;
2: aload 0
aload 2
putfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/Pair<TT1;TT2;>;
0 4 1 left TT1;
0 4 2 right TT2;
Signature: (TT1;TT2;)V
MethodParameters:
Name Flags
left
right
public final int hashCode();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 31
aload 0
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack: int
1: aload 0
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: org.apache.cassandra.utils.Pair
StackMap stack: int int
2: iadd
istore 1
start local 1 3: bipush 31
iload 1
imul
aload 0
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
ifnonnull 4
iconst_0
goto 5
StackMap locals: org.apache.cassandra.utils.Pair int
StackMap stack: int
4: aload 0
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: org.apache.cassandra.utils.Pair int
StackMap stack: int int
5: iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/utils/Pair<TT1;TT2;>;
3 6 1 hashCode I
public final boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.cassandra.utils.Pair
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.utils.Pair
astore 2
start local 2 3: aload 0
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
aload 2
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 4
aload 0
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
aload 2
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 4
iconst_1
ireturn
StackMap locals: org.apache.cassandra.utils.Pair
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/Pair<TT1;TT2;>;
0 5 1 o Ljava/lang/Object;
3 5 2 that Lorg/apache/cassandra/utils/Pair;
MethodParameters:
Name Flags
o
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/Pair<TT1;TT2;>;
public static <X, Y> org.apache.cassandra.utils.Pair<X, Y> create(X, Y);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/cassandra/utils/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.utils.Pair
dup
aload 0
aload 1
invokespecial org.apache.cassandra.utils.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x TX;
0 1 1 y TY;
Signature: <X:Ljava/lang/Object;Y:Ljava/lang/Object;>(TX;TY;)Lorg/apache/cassandra/utils/Pair<TX;TY;>;
MethodParameters:
Name Flags
x
y
}
Signature: <T1:Ljava/lang/Object;T2:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Pair.java"