public abstract class org.apache.commons.lang3.tuple.Pair<L, R> implements java.util.Map$Entry<L, R>, java.lang.Comparable<org.apache.commons.lang3.tuple.Pair<L, R>>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.commons.lang3.tuple.Pair
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4954918890077093841
public static final org.apache.commons.lang3.tuple.Pair<?, ?>[] EMPTY_ARRAY;
descriptor: [Lorg/apache/commons/lang3/tuple/Pair;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: [Lorg/apache/commons/lang3/tuple/Pair<**>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray org.apache.commons.lang3.tuple.Pair$PairAdapter
putstatic org.apache.commons.lang3.tuple.Pair.EMPTY_ARRAY:[Lorg/apache/commons/lang3/tuple/Pair;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
public static <L, R> org.apache.commons.lang3.tuple.Pair<L, R>[] emptyArray();
descriptor: ()[Lorg/apache/commons/lang3/tuple/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.commons.lang3.tuple.Pair.EMPTY_ARRAY:[Lorg/apache/commons/lang3/tuple/Pair;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <L:Ljava/lang/Object;R:Ljava/lang/Object;>()[Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
public static <L, R> org.apache.commons.lang3.tuple.Pair<L, R> of(L, R);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/lang3/tuple/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.lang3.tuple.ImmutablePair.of:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/lang3/tuple/ImmutablePair;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 left TL;
0 1 1 right TR;
Signature: <L:Ljava/lang/Object;R:Ljava/lang/Object;>(TL;TR;)Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
MethodParameters:
Name Flags
left final
right final
public static <L, R> org.apache.commons.lang3.tuple.Pair<L, R> of(java.util.Map$Entry<L, R>);
descriptor: (Ljava/util/Map$Entry;)Lorg/apache/commons/lang3/tuple/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.lang3.tuple.ImmutablePair.of:(Ljava/util/Map$Entry;)Lorg/apache/commons/lang3/tuple/ImmutablePair;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pair Ljava/util/Map$Entry<TL;TR;>;
Signature: <L:Ljava/lang/Object;R:Ljava/lang/Object;>(Ljava/util/Map$Entry<TL;TR;>;)Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
MethodParameters:
Name Flags
pair final
public int compareTo(org.apache.commons.lang3.tuple.Pair<L, R>);
descriptor: (Lorg/apache/commons/lang3/tuple/Pair;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.commons.lang3.builder.CompareToBuilder
dup
invokespecial org.apache.commons.lang3.builder.CompareToBuilder.<init>:()V
aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getLeft:()Ljava/lang/Object;
aload 1
invokevirtual org.apache.commons.lang3.tuple.Pair.getLeft:()Ljava/lang/Object;
invokevirtual org.apache.commons.lang3.builder.CompareToBuilder.append:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/lang3/builder/CompareToBuilder;
1: aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getRight:()Ljava/lang/Object;
aload 1
invokevirtual org.apache.commons.lang3.tuple.Pair.getRight:()Ljava/lang/Object;
invokevirtual org.apache.commons.lang3.builder.CompareToBuilder.append:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/commons/lang3/builder/CompareToBuilder;
invokevirtual org.apache.commons.lang3.builder.CompareToBuilder.toComparison:()I
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
0 3 1 other Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
Signature: (Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;)I
MethodParameters:
Name Flags
other final
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 java.util.Map$Entry
ifeq 8
3: aload 1
checkcast java.util.Map$Entry
astore 2
start local 2 4: aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getKey:()Ljava/lang/Object;
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
5: aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getValue:()Ljava/lang/Object;
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals: java.util.Map$Entry
StackMap stack:
7: iconst_0
ireturn
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
0 9 1 obj Ljava/lang/Object;
4 8 2 other Ljava/util/Map$Entry<**>;
MethodParameters:
Name Flags
obj final
public final L getKey();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getLeft:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
Signature: ()TL;
public abstract L getLeft();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TL;
public abstract R getRight();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()TR;
public R getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getRight:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
Signature: ()TR;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getKey:()Ljava/lang/Object;
invokestatic java.util.Objects.hashCode:(Ljava/lang/Object;)I
aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getValue:()Ljava/lang/Object;
invokestatic java.util.Objects.hashCode:(Ljava/lang/Object;)I
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
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
invokevirtual org.apache.commons.lang3.tuple.Pair.getLeft:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getRight:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)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/commons/lang3/tuple/Pair<TL;TR;>;
public java.lang.String toString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getLeft:()Ljava/lang/Object;
aastore
dup
iconst_1
aload 0
invokevirtual org.apache.commons.lang3.tuple.Pair.getRight:()Ljava/lang/Object;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;
0 1 1 format Ljava/lang/String;
MethodParameters:
Name Flags
format final
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.commons.lang3.tuple.Pair
invokevirtual org.apache.commons.lang3.tuple.Pair.compareTo:(Lorg/apache/commons/lang3/tuple/Pair;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <L:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Map$Entry<TL;TR;>;Ljava/lang/Comparable<Lorg/apache/commons/lang3/tuple/Pair<TL;TR;>;>;Ljava/io/Serializable;
SourceFile: "Pair.java"
NestMembers:
org.apache.commons.lang3.tuple.Pair$PairAdapter
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private final PairAdapter = org.apache.commons.lang3.tuple.Pair$PairAdapter of org.apache.commons.lang3.tuple.Pair