final class org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet<T> extends org.eclipse.collections.impl.set.immutable.AbstractImmutableSet<T> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet
super_class: org.eclipse.collections.impl.set.immutable.AbstractImmutableSet
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final T element1;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT;
private final T element2;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: 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.set.immutable.AbstractImmutableSet.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element1:Ljava/lang/Object;
2: aload 0
aload 2
putfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.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/set/immutable/ImmutableDoubletonSet<TT;>;
0 4 1 obj1 TT;
0 4 2 obj2 TT;
Signature: (TT;TT;)V
MethodParameters:
Name Flags
obj1
obj2
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/set/immutable/ImmutableDoubletonSet<TT;>;
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.Set
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.util.Set
astore 2
start local 2 5: aload 2
invokeinterface java.util.Set.size:()I
aload 0
invokevirtual org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.size:()I
if_icmpne 9
6: aload 2
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element1:Ljava/lang/Object;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 9
7: aload 2
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element2:Ljava/lang/Object;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
StackMap locals: java.util.Set
StackMap stack:
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/collections/impl/set/immutable/ImmutableDoubletonSet<TT;>;
0 10 1 o Ljava/lang/Object;
5 10 2 set Ljava/util/Set<*>;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element1:Ljava/lang/Object;
invokevirtual org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.nullSafeHashCode:(Ljava/lang/Object;)I
aload 0
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element2:Ljava/lang/Object;
invokevirtual org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.nullSafeHashCode:(Ljava/lang/Object;)I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/set/immutable/ImmutableDoubletonSet<TT;>;
public org.eclipse.collections.api.set.ImmutableSet<T> newWith(T);
descriptor: (Ljava/lang/Object;)Lorg/eclipse/collections/api/set/ImmutableSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.contains:(Ljava/lang/Object;)Z
ifne 2
1: getstatic org.eclipse.collections.impl.factory.Sets.immutable:Lorg/eclipse/collections/api/factory/set/ImmutableSetFactory;
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element1:Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element2:Ljava/lang/Object;
aload 1
invokeinterface org.eclipse.collections.api.factory.set.ImmutableSetFactory.with:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/eclipse/collections/api/set/ImmutableSet;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/set/immutable/ImmutableDoubletonSet<TT;>;
0 3 1 element TT;
Signature: (TT;)Lorg/eclipse/collections/api/set/ImmutableSet<TT;>;
MethodParameters:
Name Flags
element
public org.eclipse.collections.api.set.ImmutableSet<T> newWithout(T);
descriptor: (Ljava/lang/Object;)Lorg/eclipse/collections/api/set/ImmutableSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.contains:(Ljava/lang/Object;)Z
ifeq 5
1: aload 1
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element1:Ljava/lang/Object;
invokestatic org.eclipse.collections.impl.block.factory.Comparators.nullSafeEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 3
2: getstatic org.eclipse.collections.impl.factory.Sets.immutable:Lorg/eclipse/collections/api/factory/set/ImmutableSetFactory;
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element2:Ljava/lang/Object;
invokeinterface org.eclipse.collections.api.factory.set.ImmutableSetFactory.with:(Ljava/lang/Object;)Lorg/eclipse/collections/api/set/ImmutableSet;
goto 4
3: StackMap locals:
StackMap stack:
getstatic org.eclipse.collections.impl.factory.Sets.immutable:Lorg/eclipse/collections/api/factory/set/ImmutableSetFactory;
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element1:Ljava/lang/Object;
invokeinterface org.eclipse.collections.api.factory.set.ImmutableSetFactory.with:(Ljava/lang/Object;)Lorg/eclipse/collections/api/set/ImmutableSet;
4: StackMap locals:
StackMap stack: org.eclipse.collections.api.set.ImmutableSet
areturn
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/collections/impl/set/immutable/ImmutableDoubletonSet<TT;>;
0 6 1 element TT;
Signature: (TT;)Lorg/eclipse/collections/api/set/ImmutableSet<TT;>;
MethodParameters:
Name Flags
element
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.set.immutable.ImmutableDoubletonSet.element1:Ljava/lang/Object;
invokestatic org.eclipse.collections.impl.block.factory.Comparators.nullSafeEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 1
aload 1
aload 0
getfield org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet.element2:Ljava/lang/Object;
invokestatic org.eclipse.collections.impl.block.factory.Comparators.nullSafeEquals:(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/set/immutable/ImmutableDoubletonSet<TT;>;
0 2 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet$DoubletonSetIterator
dup
aload 0
invokespecial org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet$DoubletonSetIterator.<init>:(Lorg/eclipse/collections/impl/set/immutable/ImmutableDoubletonSet;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/set/immutable/ImmutableDoubletonSet<TT;>;
Signature: ()Ljava/util/Iterator<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.set.immutable.ImmutableDoubletonSet.element1:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/set/immutable/ImmutableDoubletonSet<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.set.immutable.ImmutableDoubletonSet.element2:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/set/immutable/ImmutableDoubletonSet<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.set.immutable.ImmutableDoubletonSet.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/set/immutable/ImmutableDoubletonSet<TT;>;
Signature: ()TT;
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.set.immutable.ImmutableDoubletonSet.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.set.immutable.ImmutableDoubletonSet.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/set/immutable/ImmutableDoubletonSet<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.set.immutable.ImmutableDoubletonSet.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.set.immutable.ImmutableDoubletonSet.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/set/immutable/ImmutableDoubletonSet<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.set.immutable.ImmutableDoubletonSet.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.set.immutable.ImmutableDoubletonSet.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/set/immutable/ImmutableDoubletonSet<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
private java.lang.Object writeReplace();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.eclipse.collections.impl.set.immutable.ImmutableSetSerializationProxy
dup
aload 0
invokespecial org.eclipse.collections.impl.set.immutable.ImmutableSetSerializationProxy.<init>:(Lorg/eclipse/collections/api/set/ImmutableSet;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/set/immutable/ImmutableDoubletonSet<TT;>;
public org.eclipse.collections.api.collection.ImmutableCollection newWithout(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/eclipse/collections/api/collection/ImmutableCollection;
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.set.immutable.ImmutableDoubletonSet.newWithout:(Ljava/lang/Object;)Lorg/eclipse/collections/api/set/ImmutableSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.eclipse.collections.api.collection.ImmutableCollection newWith(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/eclipse/collections/api/collection/ImmutableCollection;
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.set.immutable.ImmutableDoubletonSet.newWith:(Ljava/lang/Object;)Lorg/eclipse/collections/api/set/ImmutableSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lorg/eclipse/collections/impl/set/immutable/AbstractImmutableSet<TT;>;Ljava/io/Serializable;
SourceFile: "ImmutableDoubletonSet.java"
NestMembers:
org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet$DoubletonSetIterator
InnerClasses:
private DoubletonSetIterator = org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet$DoubletonSetIterator of org.eclipse.collections.impl.set.immutable.ImmutableDoubletonSet