public final class org.eclipse.collections.impl.collection.mutable.CollectionAdapter<T> extends org.eclipse.collections.impl.collection.mutable.AbstractCollectionAdapter<T> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.collection.mutable.CollectionAdapter
super_class: org.eclipse.collections.impl.collection.mutable.AbstractCollectionAdapter
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final java.util.Collection<T> delegate;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<TT;>;
public void <init>(java.util.Collection<T>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.collections.impl.collection.mutable.AbstractCollectionAdapter.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "CollectionAdapter may not wrap null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.eclipse.collections.impl.collection.mutable.CollectionAdapter java.util.Collection
StackMap stack:
aload 0
aload 1
putfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
0 5 1 newDelegate Ljava/util/Collection<TT;>;
Signature: (Ljava/util/Collection<TT;>;)V
MethodParameters:
Name Flags
newDelegate
protected java.util.Collection<T> getDelegate();
descriptor: ()Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
Signature: ()Ljava/util/Collection<TT;>;
public org.eclipse.collections.api.collection.MutableCollection<T> asUnmodifiable();
descriptor: ()Lorg/eclipse/collections/api/collection/MutableCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.collections.impl.collection.mutable.UnmodifiableMutableCollection.of:(Ljava/util/Collection;)Lorg/eclipse/collections/impl/collection/mutable/UnmodifiableMutableCollection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
Signature: ()Lorg/eclipse/collections/api/collection/MutableCollection<TT;>;
public org.eclipse.collections.api.collection.MutableCollection<T> asSynchronized();
descriptor: ()Lorg/eclipse/collections/api/collection/MutableCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.collections.impl.collection.mutable.SynchronizedMutableCollection.of:(Ljava/util/Collection;)Lorg/eclipse/collections/impl/collection/mutable/SynchronizedMutableCollection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
Signature: ()Lorg/eclipse/collections/api/collection/MutableCollection<TT;>;
public org.eclipse.collections.api.collection.ImmutableCollection<T> toImmutable();
descriptor: ()Lorg/eclipse/collections/api/collection/ImmutableCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
instanceof java.util.Set
ifeq 2
1: getstatic org.eclipse.collections.impl.factory.Sets.immutable:Lorg/eclipse/collections/api/factory/set/ImmutableSetFactory;
aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
invokeinterface org.eclipse.collections.api.factory.set.ImmutableSetFactory.withAll:(Ljava/lang/Iterable;)Lorg/eclipse/collections/api/set/ImmutableSet;
goto 3
2: StackMap locals:
StackMap stack:
getstatic org.eclipse.collections.impl.factory.Lists.immutable:Lorg/eclipse/collections/api/factory/list/ImmutableListFactory;
aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
invokeinterface org.eclipse.collections.api.factory.list.ImmutableListFactory.withAll:(Ljava/lang/Iterable;)Lorg/eclipse/collections/api/list/ImmutableList;
3: StackMap locals:
StackMap stack: org.eclipse.collections.api.collection.ImmutableCollection
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
Signature: ()Lorg/eclipse/collections/api/collection/ImmutableCollection<TT;>;
public static <E> org.eclipse.collections.api.set.MutableSet<E> wrapSet(java.lang.Iterable<E>);
descriptor: (Ljava/lang/Iterable;)Lorg/eclipse/collections/api/set/MutableSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.eclipse.collections.api.set.MutableSet
ifeq 2
1: aload 0
checkcast org.eclipse.collections.api.set.MutableSet
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.Set
ifeq 4
3: aload 0
checkcast java.util.Set
invokestatic org.eclipse.collections.impl.set.mutable.SetAdapter.adapt:(Ljava/util/Set;)Lorg/eclipse/collections/api/set/MutableSet;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.eclipse.collections.impl.set.mutable.UnifiedSet.newSet:(Ljava/lang/Iterable;)Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterable Ljava/lang/Iterable<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/lang/Iterable<TE;>;)Lorg/eclipse/collections/api/set/MutableSet<TE;>;
MethodParameters:
Name Flags
iterable
public static <E> org.eclipse.collections.api.list.MutableList<E> wrapList(java.lang.Iterable<E>);
descriptor: (Ljava/lang/Iterable;)Lorg/eclipse/collections/api/list/MutableList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.eclipse.collections.api.list.MutableList
ifeq 2
1: aload 0
checkcast org.eclipse.collections.api.list.MutableList
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.ArrayList
ifeq 4
3: aload 0
checkcast java.util.ArrayList
invokestatic org.eclipse.collections.impl.list.mutable.ArrayListAdapter.adapt:(Ljava/util/ArrayList;)Lorg/eclipse/collections/impl/list/mutable/ArrayListAdapter;
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.RandomAccess
ifeq 6
5: aload 0
checkcast java.util.List
invokestatic org.eclipse.collections.impl.list.mutable.RandomAccessListAdapter.adapt:(Ljava/util/List;)Lorg/eclipse/collections/api/list/MutableList;
areturn
6: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.List
ifeq 8
7: aload 0
checkcast java.util.List
invokestatic org.eclipse.collections.impl.list.mutable.ListAdapter.adapt:(Ljava/util/List;)Lorg/eclipse/collections/api/list/MutableList;
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokestatic org.eclipse.collections.impl.list.mutable.FastList.newList:(Ljava/lang/Iterable;)Lorg/eclipse/collections/impl/list/mutable/FastList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 iterable Ljava/lang/Iterable<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/lang/Iterable<TE;>;)Lorg/eclipse/collections/api/list/MutableList<TE;>;
MethodParameters:
Name Flags
iterable
public static <E> org.eclipse.collections.api.collection.MutableCollection<E> adapt(java.util.Collection<E>);
descriptor: (Ljava/util/Collection;)Lorg/eclipse/collections/api/collection/MutableCollection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.eclipse.collections.api.collection.MutableCollection
ifeq 2
1: aload 0
checkcast org.eclipse.collections.api.collection.MutableCollection
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.List
ifeq 4
3: aload 0
invokestatic org.eclipse.collections.impl.collection.mutable.CollectionAdapter.wrapList:(Ljava/lang/Iterable;)Lorg/eclipse/collections/api/list/MutableList;
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.Set
ifeq 6
5: aload 0
checkcast java.util.Set
invokestatic org.eclipse.collections.impl.set.mutable.SetAdapter.adapt:(Ljava/util/Set;)Lorg/eclipse/collections/api/set/MutableSet;
areturn
6: StackMap locals:
StackMap stack:
new org.eclipse.collections.impl.collection.mutable.CollectionAdapter
dup
aload 0
invokespecial org.eclipse.collections.impl.collection.mutable.CollectionAdapter.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 collection Ljava/util/Collection<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Collection<TE;>;)Lorg/eclipse/collections/api/collection/MutableCollection<TE;>;
MethodParameters:
Name Flags
collection
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
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.eclipse.collections.impl.collection.mutable.CollectionAdapter
astore 2
start local 2 5: aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
aload 2
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
invokestatic org.eclipse.collections.impl.block.factory.Comparators.nullSafeEquals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
0 6 1 o Ljava/lang/Object;
5 6 2 that Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<*>;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
invokeinterface java.util.Collection.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
public org.eclipse.collections.impl.collection.mutable.CollectionAdapter<T> with(T[]);
descriptor: ([Ljava/lang/Object;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new org.eclipse.collections.impl.block.procedure.CollectionAddProcedure
dup
aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
invokespecial org.eclipse.collections.impl.block.procedure.CollectionAddProcedure.<init>:(Ljava/util/Collection;)V
invokestatic org.eclipse.collections.impl.utility.ArrayIterate.forEach:([Ljava/lang/Object;Lorg/eclipse/collections/api/block/procedure/Procedure;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
0 2 1 elements [Ljava/lang/Object;
Signature: ([TT;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
MethodParameters:
Name Flags
elements
public org.eclipse.collections.impl.collection.mutable.CollectionAdapter<T> with(T);
descriptor: (Ljava/lang/Object;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
0 2 1 element TT;
Signature: (TT;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
MethodParameters:
Name Flags
element
public org.eclipse.collections.impl.collection.mutable.CollectionAdapter<T> without(T);
descriptor: (Ljava/lang/Object;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
0 2 1 element TT;
Signature: (TT;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
MethodParameters:
Name Flags
element
public org.eclipse.collections.impl.collection.mutable.CollectionAdapter<T> withAll(java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new org.eclipse.collections.impl.block.procedure.CollectionAddProcedure
dup
aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
invokespecial org.eclipse.collections.impl.block.procedure.CollectionAddProcedure.<init>:(Ljava/util/Collection;)V
invokestatic org.eclipse.collections.impl.utility.Iterate.forEach:(Ljava/lang/Iterable;Lorg/eclipse/collections/api/block/procedure/Procedure;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
0 2 1 elements Ljava/lang/Iterable<+TT;>;
Signature: (Ljava/lang/Iterable<+TT;>;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
MethodParameters:
Name Flags
elements
public org.eclipse.collections.impl.collection.mutable.CollectionAdapter<T> withoutAll(java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new org.eclipse.collections.impl.block.procedure.CollectionRemoveProcedure
dup
aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
invokespecial org.eclipse.collections.impl.block.procedure.CollectionRemoveProcedure.<init>:(Ljava/util/Collection;)V
invokestatic org.eclipse.collections.impl.utility.Iterate.forEach:(Ljava/lang/Iterable;Lorg/eclipse/collections/api/block/procedure/Procedure;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
0 2 1 elements Ljava/lang/Iterable<+TT;>;
Signature: (Ljava/lang/Iterable<+TT;>;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
MethodParameters:
Name Flags
elements
public org.eclipse.collections.api.collection.MutableCollection<T> newEmpty();
descriptor: ()Lorg/eclipse/collections/api/collection/MutableCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.collection.mutable.CollectionAdapter.delegate:Ljava/util/Collection;
instanceof java.util.Set
ifeq 2
1: invokestatic org.eclipse.collections.impl.set.mutable.UnifiedSet.newSet:()Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.eclipse.collections.impl.factory.Lists.mutable:Lorg/eclipse/collections/api/factory/list/MutableListFactory;
invokeinterface org.eclipse.collections.api.factory.list.MutableListFactory.empty:()Lorg/eclipse/collections/api/list/MutableList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter<TT;>;
Signature: ()Lorg/eclipse/collections/api/collection/MutableCollection<TT;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public org.eclipse.collections.api.collection.MutableCollection withoutAll(java.lang.Iterable);
descriptor: (Ljava/lang/Iterable;)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.Iterable
invokevirtual org.eclipse.collections.impl.collection.mutable.CollectionAdapter.withoutAll:(Ljava/lang/Iterable;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.eclipse.collections.api.collection.MutableCollection without(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.collection.mutable.CollectionAdapter.without:(Ljava/lang/Object;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.eclipse.collections.api.collection.MutableCollection withAll(java.lang.Iterable);
descriptor: (Ljava/lang/Iterable;)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.Iterable
invokevirtual org.eclipse.collections.impl.collection.mutable.CollectionAdapter.withAll:(Ljava/lang/Iterable;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter;
areturn
LocalVariableTable:
Start End Slot Name Signature
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.collection.mutable.CollectionAdapter.with:(Ljava/lang/Object;)Lorg/eclipse/collections/impl/collection/mutable/CollectionAdapter;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lorg/eclipse/collections/impl/collection/mutable/AbstractCollectionAdapter<TT;>;Ljava/io/Serializable;
SourceFile: "CollectionAdapter.java"