class org.eclipse.collections.impl.tuple.PairImpl<T1, T2> implements org.eclipse.collections.api.tuple.Pair<T1, T2>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.collections.impl.tuple.PairImpl
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final T1 one;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT1;
private final T2 two;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT2;
void <init>(T1, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0000)
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.eclipse.collections.impl.tuple.PairImpl.one:Ljava/lang/Object;
2: aload 0
aload 2
putfield org.eclipse.collections.impl.tuple.PairImpl.two: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/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
0 4 1 newOne TT1;
0 4 2 newTwo TT2;
Signature: (TT1;TT2;)V
MethodParameters:
Name Flags
newOne
newTwo
public T1 getOne();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.one:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
Signature: ()TT1;
public T2 getTwo();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.two:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
Signature: ()TT2;
public void put(java.util.Map<? super T1, ? super T2>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.one:Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.two:Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
0 2 1 map Ljava/util/Map<-TT1;-TT2;>;
Signature: (Ljava/util/Map<-TT1;-TT2;>;)V
MethodParameters:
Name Flags
map
public org.eclipse.collections.impl.tuple.PairImpl<T2, T1> swap();
descriptor: ()Lorg/eclipse/collections/impl/tuple/PairImpl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.eclipse.collections.impl.tuple.PairImpl
dup
aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.two:Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.one:Ljava/lang/Object;
invokespecial org.eclipse.collections.impl.tuple.PairImpl.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
Signature: ()Lorg/eclipse/collections/impl/tuple/PairImpl<TT2;TT1;>;
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 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.eclipse.collections.api.tuple.Pair
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.eclipse.collections.api.tuple.Pair
astore 2
start local 2 5: aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.one:Ljava/lang/Object;
aload 2
invokeinterface org.eclipse.collections.api.tuple.Pair.getOne:()Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 8
6: aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.two:Ljava/lang/Object;
aload 2
invokeinterface org.eclipse.collections.api.tuple.Pair.getTwo:()Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: org.eclipse.collections.api.tuple.Pair
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
0 9 1 o Ljava/lang/Object;
5 9 2 that Lorg/eclipse/collections/api/tuple/Pair<**>;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.one:Ljava/lang/Object;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.one:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: bipush 29
iload 1
imul
aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.two:Ljava/lang/Object;
ifnonnull 4
iconst_0
goto 5
StackMap locals: org.eclipse.collections.impl.tuple.PairImpl int
StackMap stack: int
4: aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.two:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: org.eclipse.collections.impl.tuple.PairImpl int
StackMap stack: int int
5: iadd
istore 1
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
3 7 1 result I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.one: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.eclipse.collections.impl.tuple.PairImpl.two:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
public java.util.Map$Entry<T1, T2> toEntry();
descriptor: ()Ljava/util/Map$Entry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.one:Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.two:Ljava/lang/Object;
invokestatic org.eclipse.collections.impl.tuple.ImmutableEntry.of:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/eclipse/collections/impl/tuple/ImmutableEntry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
Signature: ()Ljava/util/Map$Entry<TT1;TT2;>;
public int compareTo(org.eclipse.collections.api.tuple.Pair<T1, T2>);
descriptor: (Lorg/eclipse/collections/api/tuple/Pair;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.one:Ljava/lang/Object;
checkcast java.lang.Comparable
aload 1
invokeinterface org.eclipse.collections.api.tuple.Pair.getOne:()Ljava/lang/Object;
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
istore 2
start local 2 1: iload 2
ifeq 3
2: iload 2
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.tuple.PairImpl.two:Ljava/lang/Object;
checkcast java.lang.Comparable
aload 1
invokeinterface org.eclipse.collections.api.tuple.Pair.getTwo:()Ljava/lang/Object;
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/tuple/PairImpl<TT1;TT2;>;
0 4 1 other Lorg/eclipse/collections/api/tuple/Pair<TT1;TT2;>;
1 4 2 i I
Signature: (Lorg/eclipse/collections/api/tuple/Pair<TT1;TT2;>;)I
MethodParameters:
Name Flags
other
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.eclipse.collections.api.tuple.Pair
invokevirtual org.eclipse.collections.impl.tuple.PairImpl.compareTo:(Lorg/eclipse/collections/api/tuple/Pair;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public org.eclipse.collections.api.tuple.Pair swap();
descriptor: ()Lorg/eclipse/collections/api/tuple/Pair;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.eclipse.collections.impl.tuple.PairImpl.swap:()Lorg/eclipse/collections/impl/tuple/PairImpl;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T1:Ljava/lang/Object;T2:Ljava/lang/Object;>Ljava/lang/Object;Lorg/eclipse/collections/api/tuple/Pair<TT1;TT2;>;
SourceFile: "PairImpl.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map