public class org.apache.commons.collections4.collection.SynchronizedCollection<E> implements java.util.Collection<E>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.collection.SynchronizedCollection
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2412805092710877986
private final java.util.Collection<E> collection;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<TE;>;
protected final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public static <T> org.apache.commons.collections4.collection.SynchronizedCollection<T> synchronizedCollection(java.util.Collection<T>);
descriptor: (Ljava/util/Collection;)Lorg/apache/commons/collections4/collection/SynchronizedCollection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.collections4.collection.SynchronizedCollection
dup
aload 0
invokespecial org.apache.commons.collections4.collection.SynchronizedCollection.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 coll Ljava/util/Collection<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)Lorg/apache/commons/collections4/collection/SynchronizedCollection<TT;>;
MethodParameters:
Name Flags
coll final
protected void <init>(java.util.Collection<E>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "Collection must not be null."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.util.Collection
StackMap stack:
aload 0
aload 1
putfield org.apache.commons.collections4.collection.SynchronizedCollection.collection:Ljava/util/Collection;
4: aload 0
aload 0
putfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 6 1 collection Ljava/util/Collection<TE;>;
Signature: (Ljava/util/Collection<TE;>;)V
MethodParameters:
Name Flags
collection final
protected void <init>(java.util.Collection<E>, );
descriptor: (Ljava/util/Collection;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, 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 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "Collection must not be null."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.util.Collection java.lang.Object
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "Lock must not be null."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.commons.collections4.collection.SynchronizedCollection.collection:Ljava/util/Collection;
6: aload 0
aload 2
putfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 8 1 collection Ljava/util/Collection<TE;>;
0 8 2 lock Ljava/lang/Object;
Signature: (Ljava/util/Collection<TE;>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
collection final
lock final
protected java.util.Collection<E> decorated();
descriptor: ()Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.collection:Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
Signature: ()Ljava/util/Collection<TE;>;
public boolean add();
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
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 5 1 object TE;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: (TE;)Z
MethodParameters:
Name Flags
object final
public boolean addAll(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.util.Collection java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 5 1 coll Ljava/util/Collection<+TE;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: (Ljava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
coll final
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
invokeinterface java.util.Collection.clear:()V
2: aload 1
monitorexit
3: goto 6
StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public boolean contains(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
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 5 1 object Ljava/lang/Object;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
object final
public boolean containsAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.containsAll:(Ljava/util/Collection;)Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.util.Collection java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 5 1 coll Ljava/util/Collection<*>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
coll final
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
aload 1
monitorexit
2: areturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object[] java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 5 1 object [Ljava/lang/Object;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
MethodParameters:
Name Flags
object final
public boolean remove(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
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 5 1 object Ljava/lang/Object;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
object final
public boolean removeAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.removeAll:(Ljava/util/Collection;)Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.util.Collection java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 5 1 coll Ljava/util/Collection<*>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
coll final
public boolean retainAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.retainAll:(Ljava/util/Collection;)Z
aload 2
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.util.Collection java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 5 1 coll Ljava/util/Collection<*>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
coll final
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
aload 1
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
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
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 1
aload 0
if_acmpne 4
2: aload 2
monitorexit
3: iconst_1
ireturn
4: StackMap locals: java.lang.Object
StackMap stack:
aload 1
aload 0
if_acmpeq 5
aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.equals:(Ljava/lang/Object;)Z
ifne 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: aload 2
monitorexit
7: ireturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
9: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
0 10 1 object Ljava/lang/Object;
Exception table:
from to target type
1 3 8 any
4 7 8 any
8 9 8 any
MethodParameters:
Name Flags
object final
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.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
invokeinterface java.util.Collection.hashCode:()I
aload 1
monitorexit
2: ireturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.collection.SynchronizedCollection.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual org.apache.commons.collections4.collection.SynchronizedCollection.decorated:()Ljava/util/Collection;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 1
monitorexit
2: areturn
3: StackMap locals: org.apache.commons.collections4.collection.SynchronizedCollection java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/collection/SynchronizedCollection<TE;>;
Exception table:
from to target type
1 2 3 any
3 4 3 any
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Collection<TE;>;Ljava/io/Serializable;
SourceFile: "SynchronizedCollection.java"