public final class jdk.internal.vm.compiler.collections.Pair<L, R>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.vm.compiler.collections.Pair
super_class: java.lang.Object
{
private static final jdk.internal.vm.compiler.collections.Pair<java.lang.Object, java.lang.Object> EMPTY;
descriptor: Ljdk/internal/vm/compiler/collections/Pair;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/Pair<Ljava/lang/Object;Ljava/lang/Object;>;
private final L left;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TL;
private final R right;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TR;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new jdk.internal.vm.compiler.collections.Pair
dup
aconst_null
aconst_null
invokespecial jdk.internal.vm.compiler.collections.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
putstatic jdk.internal.vm.compiler.collections.Pair.EMPTY:Ljdk/internal/vm/compiler/collections/Pair;
return
LocalVariableTable:
Start End Slot Name Signature
public static <L, R> jdk.internal.vm.compiler.collections.Pair<L, R> empty();
descriptor: ()Ljdk/internal/vm/compiler/collections/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.vm.compiler.collections.Pair.EMPTY:Ljdk/internal/vm/compiler/collections/Pair;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <L:Ljava/lang/Object;R:Ljava/lang/Object;>()Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
public static <L, R> jdk.internal.vm.compiler.collections.Pair<L, R> createLeft(L);
descriptor: (Ljava/lang/Object;)Ljdk/internal/vm/compiler/collections/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: invokestatic jdk.internal.vm.compiler.collections.Pair.empty:()Ljdk/internal/vm/compiler/collections/Pair;
areturn
2: StackMap locals:
StackMap stack:
new jdk.internal.vm.compiler.collections.Pair
dup
aload 0
aconst_null
invokespecial jdk.internal.vm.compiler.collections.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 left TL;
Signature: <L:Ljava/lang/Object;R:Ljava/lang/Object;>(TL;)Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
MethodParameters:
Name Flags
left
public static <L, R> jdk.internal.vm.compiler.collections.Pair<L, R> createRight(R);
descriptor: (Ljava/lang/Object;)Ljdk/internal/vm/compiler/collections/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: invokestatic jdk.internal.vm.compiler.collections.Pair.empty:()Ljdk/internal/vm/compiler/collections/Pair;
areturn
2: StackMap locals:
StackMap stack:
new jdk.internal.vm.compiler.collections.Pair
dup
aconst_null
aload 0
invokespecial jdk.internal.vm.compiler.collections.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 right TR;
Signature: <L:Ljava/lang/Object;R:Ljava/lang/Object;>(TR;)Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
MethodParameters:
Name Flags
right
public static <L, R> jdk.internal.vm.compiler.collections.Pair<L, R> create(L, R);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljdk/internal/vm/compiler/collections/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
aload 0
ifnonnull 2
1: invokestatic jdk.internal.vm.compiler.collections.Pair.empty:()Ljdk/internal/vm/compiler/collections/Pair;
areturn
2: StackMap locals:
StackMap stack:
new jdk.internal.vm.compiler.collections.Pair
dup
aload 0
aload 1
invokespecial jdk.internal.vm.compiler.collections.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 left TL;
0 3 1 right TR;
Signature: <L:Ljava/lang/Object;R:Ljava/lang/Object;>(TL;TR;)Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
MethodParameters:
Name Flags
left
right
private void <init>(L, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
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 jdk.internal.vm.compiler.collections.Pair.left:Ljava/lang/Object;
2: aload 0
aload 2
putfield jdk.internal.vm.compiler.collections.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 Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
0 4 1 left TL;
0 4 2 right TR;
Signature: (TL;TR;)V
MethodParameters:
Name Flags
left
right
public L getLeft();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.vm.compiler.collections.Pair.left:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
Signature: ()TL;
public R getRight();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.vm.compiler.collections.Pair.right:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
Signature: ()TR;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.vm.compiler.collections.Pair.left:Ljava/lang/Object;
invokestatic java.util.Objects.hashCode:(Ljava/lang/Object;)I
bipush 31
aload 0
getfield jdk.internal.vm.compiler.collections.Pair.right:Ljava/lang/Object;
invokestatic java.util.Objects.hashCode:(Ljava/lang/Object;)I
imul
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.internal.vm.compiler.collections.Pair
ifeq 6
3: aload 1
checkcast jdk.internal.vm.compiler.collections.Pair
astore 2
start local 2 4: aload 0
getfield jdk.internal.vm.compiler.collections.Pair.left:Ljava/lang/Object;
aload 2
getfield jdk.internal.vm.compiler.collections.Pair.left:Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 5
aload 0
getfield jdk.internal.vm.compiler.collections.Pair.right:Ljava/lang/Object;
aload 2
getfield jdk.internal.vm.compiler.collections.Pair.right:Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 5
iconst_1
ireturn
StackMap locals: jdk.internal.vm.compiler.collections.Pair
StackMap stack:
5: iconst_0
ireturn
end local 2 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
0 7 1 obj Ljava/lang/Object;
4 6 2 pair Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "(%s, %s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.vm.compiler.collections.Pair.left:Ljava/lang/Object;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.vm.compiler.collections.Pair.right:Ljava/lang/Object;
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 Ljdk/internal/vm/compiler/collections/Pair<TL;TR;>;
}
Signature: <L:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Pair.java"