final class org.eclipse.collections.impl.list.fixed.DoubletonList<T> extends org.eclipse.collections.impl.list.fixed.AbstractMemoryEfficientMutableList<T> implements java.io.Externalizable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.list.fixed.DoubletonList
super_class: org.eclipse.collections.impl.list.fixed.AbstractMemoryEfficientMutableList
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private T element1;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
private T element2;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.collections.impl.list.fixed.AbstractMemoryEfficientMutableList.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
void <init>(T, );
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 org.eclipse.collections.impl.list.fixed.AbstractMemoryEfficientMutableList.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
2: aload 0
aload 2
putfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2: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/list/fixed/DoubletonList<TT;>;
0 4 1 obj1 TT;
0 4 2 obj2 TT;
Signature: (TT;TT;)V
MethodParameters:
Name Flags
obj1
obj2
public org.eclipse.collections.impl.list.fixed.TripletonList<T> with(T);
descriptor: (Ljava/lang/Object;)Lorg/eclipse/collections/impl/list/fixed/TripletonList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.eclipse.collections.impl.list.fixed.TripletonList
dup
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
aload 1
invokespecial org.eclipse.collections.impl.list.fixed.TripletonList.<init>:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 1 1 value TT;
Signature: (TT;)Lorg/eclipse/collections/impl/list/fixed/TripletonList<TT;>;
MethodParameters:
Name Flags
value
public org.eclipse.collections.impl.list.fixed.DoubletonList<T> clone();
descriptor: ()Lorg/eclipse/collections/impl/list/fixed/DoubletonList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.eclipse.collections.impl.list.fixed.DoubletonList
dup
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
invokespecial org.eclipse.collections.impl.list.fixed.DoubletonList.<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/list/fixed/DoubletonList<TT;>;
Signature: ()Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
public T getFirst();
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.list.fixed.DoubletonList.element1:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
Signature: ()TT;
public T getLast();
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.list.fixed.DoubletonList.element2:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
Signature: ()TT;
public T getOnly();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Size must be 1 but was "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.eclipse.collections.impl.list.fixed.DoubletonList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
Signature: ()TT;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_2
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
public T get();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 1
0: 1
1: 2
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
new java.lang.StringBuilder
dup
ldc "Index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", Size: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.eclipse.collections.impl.list.fixed.DoubletonList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 4 1 index I
Signature: (I)TT;
MethodParameters:
Name Flags
index
public boolean contains(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 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 1
aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 2 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public T set(int, );
descriptor: (ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
tableswitch { // 0 - 1
0: 1
1: 4
default: 7
}
1: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
astore 3
start local 3 2: aload 0
aload 2
putfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
3: aload 3
areturn
end local 3 4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
astore 4
start local 4 5: aload 0
aload 2
putfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
6: aload 4
areturn
end local 4 7: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
new java.lang.StringBuilder
dup
ldc "Index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", Size: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.eclipse.collections.impl.list.fixed.DoubletonList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 8 1 index I
0 8 2 element TT;
2 4 3 previousElement1 TT;
5 7 4 previousElement2 TT;
Signature: (ITT;)TT;
MethodParameters:
Name Flags
index
element
public void replaceAll(java.util.function.UnaryOperator<T>);
descriptor: (Ljava/util/function/UnaryOperator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
invokeinterface java.util.function.UnaryOperator.apply:(Ljava/lang/Object;)Ljava/lang/Object;
putfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
1: aload 0
aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
invokeinterface java.util.function.UnaryOperator.apply:(Ljava/lang/Object;)Ljava/lang/Object;
putfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 3 1 operator Ljava/util/function/UnaryOperator<TT;>;
Signature: (Ljava/util/function/UnaryOperator<TT;>;)V
MethodParameters:
Name Flags
operator
public void each(org.eclipse.collections.api.block.procedure.Procedure<? super T>);
descriptor: (Lorg/eclipse/collections/api/block/procedure/Procedure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
invokeinterface org.eclipse.collections.api.block.procedure.Procedure.value:(Ljava/lang/Object;)V
1: aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
invokeinterface org.eclipse.collections.api.block.procedure.Procedure.value:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 3 1 procedure Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;
Signature: (Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;)V
MethodParameters:
Name Flags
procedure
public void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T>);
descriptor: (Lorg/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure;)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.list.fixed.DoubletonList.element1:Ljava/lang/Object;
iconst_0
invokeinterface org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure.value:(Ljava/lang/Object;I)V
1: aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
iconst_1
invokeinterface org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure.value:(Ljava/lang/Object;I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 3 1 objectIntProcedure Lorg/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure<-TT;>;
Signature: (Lorg/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure<-TT;>;)V
MethodParameters:
Name Flags
objectIntProcedure
public <P> void forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super T, ? super P>, );
descriptor: (Lorg/eclipse/collections/api/block/procedure/Procedure2;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
aload 2
invokeinterface org.eclipse.collections.api.block.procedure.Procedure2.value:(Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
aload 2
invokeinterface org.eclipse.collections.api.block.procedure.Procedure2.value:(Ljava/lang/Object;Ljava/lang/Object;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 3 1 procedure Lorg/eclipse/collections/api/block/procedure/Procedure2<-TT;-TP;>;
0 3 2 parameter TP;
Signature: <P:Ljava/lang/Object;>(Lorg/eclipse/collections/api/block/procedure/Procedure2<-TT;-TP;>;TP;)V
MethodParameters:
Name Flags
procedure
parameter
public void writeExternal(java.io.ObjectOutput);
descriptor: (Ljava/io/ObjectOutput;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
invokeinterface java.io.ObjectOutput.writeObject:(Ljava/lang/Object;)V
1: aload 1
aload 0
getfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
invokeinterface java.io.ObjectOutput.writeObject:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 3 1 out Ljava/io/ObjectOutput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public void readExternal(java.io.ObjectInput);
descriptor: (Ljava/io/ObjectInput;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.io.ObjectInput.readObject:()Ljava/lang/Object;
putfield org.eclipse.collections.impl.list.fixed.DoubletonList.element1:Ljava/lang/Object;
1: aload 0
aload 1
invokeinterface java.io.ObjectInput.readObject:()Ljava/lang/Object;
putfield org.eclipse.collections.impl.list.fixed.DoubletonList.element2:Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/list/fixed/DoubletonList<TT;>;
0 3 1 in Ljava/io/ObjectInput;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in
public org.eclipse.collections.api.list.FixedSizeList clone();
descriptor: ()Lorg/eclipse/collections/api/list/FixedSizeList;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.eclipse.collections.impl.list.fixed.DoubletonList.clone:()Lorg/eclipse/collections/impl/list/fixed/DoubletonList;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.eclipse.collections.api.list.MutableList clone();
descriptor: ()Lorg/eclipse/collections/api/list/MutableList;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.eclipse.collections.impl.list.fixed.DoubletonList.clone:()Lorg/eclipse/collections/impl/list/fixed/DoubletonList;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object clone();
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.eclipse.collections.impl.list.fixed.DoubletonList.clone:()Lorg/eclipse/collections/impl/list/fixed/DoubletonList;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.CloneNotSupportedException
public org.eclipse.collections.api.collection.MutableCollection with(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/eclipse/collections/api/collection/MutableCollection;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Object
invokevirtual org.eclipse.collections.impl.list.fixed.DoubletonList.with:(Ljava/lang/Object;)Lorg/eclipse/collections/impl/list/fixed/TripletonList;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.eclipse.collections.api.list.MutableList with(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/eclipse/collections/api/list/MutableList;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Object
invokevirtual org.eclipse.collections.impl.list.fixed.DoubletonList.with:(Ljava/lang/Object;)Lorg/eclipse/collections/impl/list/fixed/TripletonList;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lorg/eclipse/collections/impl/list/fixed/AbstractMemoryEfficientMutableList<TT;>;Ljava/io/Externalizable;
SourceFile: "DoubletonList.java"