public abstract class org.apache.commons.collections4.bag.AbstractMapBag<E> implements org.apache.commons.collections4.Bag<E>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.commons.collections4.bag.AbstractMapBag
super_class: java.lang.Object
{
private transient java.util.Map<E, org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger> map;
descriptor: Ljava/util/Map;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/Map<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private transient int modCount;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.util.Set<E> uniqueSet;
descriptor: Ljava/util/Set;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/Set<TE;>;
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
protected void <init>(java.util.Map<E, org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger>);
descriptor: (Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 3 1 map Ljava/util/Map<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;
Signature: (Ljava/util/Map<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;)V
MethodParameters:
Name Flags
map final
protected java.util.Map<E, org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger> getMap();
descriptor: ()Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
Signature: ()Ljava/util/Map<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
public int getCount(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
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.bag.AbstractMapBag.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
ireturn
3: StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 4 1 object Ljava/lang/Object;
1 4 2 count Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;
MethodParameters:
Name Flags
object final
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 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 1 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object final
public boolean containsAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.commons.collections4.Bag
ifeq 2
1: aload 0
aload 1
checkcast org.apache.commons.collections4.Bag
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.containsAll:(Lorg/apache/commons/collections4/Bag;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
new org.apache.commons.collections4.bag.HashBag
dup
aload 1
invokespecial org.apache.commons.collections4.bag.HashBag.<init>:(Ljava/util/Collection;)V
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.containsAll:(Lorg/apache/commons/collections4/Bag;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 3 1 coll Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
coll final
boolean containsAll(org.apache.commons.collections4.Bag<?>);
descriptor: (Lorg/apache/commons/collections4/Bag;)Z
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.commons.collections4.Bag.uniqueSet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 5
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 3: aload 0
aload 3
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.getCount:(Ljava/lang/Object;)I
aload 1
aload 3
invokeinterface org.apache.commons.collections4.Bag.getCount:(Ljava/lang/Object;)I
if_icmpge 5
4: iconst_0
ireturn
end local 3 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 7 1 other Lorg/apache/commons/collections4/Bag<*>;
1 7 2 it Ljava/util/Iterator<*>;
3 5 3 current Ljava/lang/Object;
Signature: (Lorg/apache/commons/collections4/Bag<*>;)Z
MethodParameters:
Name Flags
other final
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.collections4.bag.AbstractMapBag$BagIterator
dup
aload 0
invokespecial org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.<init>:(Lorg/apache/commons/collections4/bag/AbstractMapBag;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.add:(Ljava/lang/Object;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 1 1 object TE;
Signature: (TE;)Z
MethodParameters:
Name Flags
object final
public boolean add(E, );
descriptor: (Ljava/lang/Object;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
iconst_1
iadd
putfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
1: iload 2
ifle 9
2: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
astore 3
start local 3 3: aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
iload 2
iadd
putfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
4: aload 3
ifnonnull 7
5: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
aload 1
new org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
dup
iload 2
invokespecial org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.<init>:(I)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: iconst_1
ireturn
7: StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
StackMap stack:
aload 3
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
iload 2
iadd
putfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
8: iconst_0
ireturn
end local 3 9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 10 1 object TE;
0 10 2 nCopies I
3 9 3 mut Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;
Signature: (TE;I)Z
MethodParameters:
Name Flags
object final
nCopies final
public boolean addAll(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 7
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 0
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.add:(Ljava/lang/Object;)Z
istore 4
start local 4 4: iload 2
ifne 5
iload 4
ifne 5
iconst_0
goto 6
StackMap locals: int
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 2
end local 4 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 9 1 coll Ljava/util/Collection<+TE;>;
1 9 2 changed Z
2 9 3 i Ljava/util/Iterator<+TE;>;
4 7 4 added Z
Signature: (Ljava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
coll final
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
iconst_1
iadd
putfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
1: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: aload 0
iconst_0
putfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
StackMap stack:
aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
iconst_1
iadd
putfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
4: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
aload 2
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
isub
putfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 7 1 object Ljava/lang/Object;
1 7 2 mut Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;
MethodParameters:
Name Flags
object final
public boolean remove(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
astore 3
start local 3 1: aload 3
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
StackMap stack:
iload 2
ifgt 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
iconst_1
iadd
putfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
6: iload 2
aload 3
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
if_icmpge 10
7: aload 3
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
iload 2
isub
putfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
8: aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
iload 2
isub
putfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
9: goto 12
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
aload 3
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
isub
putfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 13 1 object Ljava/lang/Object;
0 13 2 nCopies I
1 13 3 mut Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;
MethodParameters:
Name Flags
object final
nCopies final
public boolean removeAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
ifnull 9
2: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: goto 8
4: StackMap locals: int java.util.Iterator
StackMap stack:
aload 0
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
iconst_1
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.remove:(Ljava/lang/Object;I)Z
istore 4
start local 4 5: iload 2
ifne 6
iload 4
ifne 6
iconst_0
goto 7
StackMap locals: int
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: istore 2
end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 9: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 10 1 coll Ljava/util/Collection<*>;
1 10 2 result Z
3 9 3 i Ljava/util/Iterator<*>;
5 8 4 changed Z
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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.commons.collections4.Bag
ifeq 2
1: aload 0
aload 1
checkcast org.apache.commons.collections4.Bag
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.retainAll:(Lorg/apache/commons/collections4/Bag;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
new org.apache.commons.collections4.bag.HashBag
dup
aload 1
invokespecial org.apache.commons.collections4.bag.HashBag.<init>:(Ljava/util/Collection;)V
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.retainAll:(Lorg/apache/commons/collections4/Bag;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 3 1 coll Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
coll final
boolean retainAll(org.apache.commons.collections4.Bag<?>);
descriptor: (Lorg/apache/commons/collections4/Bag;)Z
flags: (0x0000)
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: new org.apache.commons.collections4.bag.HashBag
dup
invokespecial org.apache.commons.collections4.bag.HashBag.<init>:()V
astore 3
start local 3 2: aload 0
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.uniqueSet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
start local 4 3: goto 11
4: StackMap locals: int org.apache.commons.collections4.Bag java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 5: aload 0
aload 5
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.getCount:(Ljava/lang/Object;)I
istore 6
start local 6 6: aload 1
aload 5
invokeinterface org.apache.commons.collections4.Bag.getCount:(Ljava/lang/Object;)I
istore 7
start local 7 7: iconst_1
iload 7
if_icmpgt 10
iload 7
iload 6
if_icmpgt 10
8: aload 3
aload 5
iload 6
iload 7
isub
invokeinterface org.apache.commons.collections4.Bag.add:(Ljava/lang/Object;I)Z
pop
9: goto 11
10: StackMap locals: java.lang.Object int int
StackMap stack:
aload 3
aload 5
iload 6
invokeinterface org.apache.commons.collections4.Bag.add:(Ljava/lang/Object;I)Z
pop
end local 7 end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: aload 3
invokeinterface org.apache.commons.collections4.Bag.isEmpty:()Z
ifne 14
13: aload 0
aload 3
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.removeAll:(Ljava/util/Collection;)Z
istore 2
14: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 15 1 other Lorg/apache/commons/collections4/Bag<*>;
1 15 2 result Z
2 15 3 excess Lorg/apache/commons/collections4/Bag<TE;>;
3 15 4 i Ljava/util/Iterator<TE;>;
5 11 5 current TE;
6 11 6 myCount I
7 11 7 otherCount I
Signature: (Lorg/apache/commons/collections4/Bag<*>;)Z
MethodParameters:
Name Flags
other final
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.size:()I
anewarray java.lang.Object
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: goto 10
4: StackMap locals: java.lang.Object[] int java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 5: aload 0
aload 4
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.getCount:(Ljava/lang/Object;)I
istore 5
start local 5 6: goto 9
7: StackMap locals: java.lang.Object int
StackMap stack:
aload 1
iload 2
iinc 2 1
aload 4
aastore
8: iinc 5 -1
StackMap locals:
StackMap stack:
9: iload 5
ifgt 7
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
1 12 1 result [Ljava/lang/Object;
2 12 2 i I
3 12 3 it Ljava/util/Iterator<TE;>;
5 10 4 current TE;
6 10 5 index I
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.size:()I
istore 2
start local 2 1: aload 1
arraylength
iload 2
if_icmpge 4
2: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iload 2
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 3
start local 3 3: aload 3
astore 1
end local 3 4: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 5: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
start local 4 6: goto 14
7: StackMap locals: int java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 8: aload 0
aload 5
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.getCount:(Ljava/lang/Object;)I
istore 6
start local 6 9: goto 13
10: StackMap locals: java.lang.Object int
StackMap stack:
aload 5
astore 7
start local 7 11: aload 1
iload 3
iinc 3 1
aload 7
aastore
end local 7 12: iinc 6 -1
StackMap locals:
StackMap stack:
13: iload 6
ifgt 10
end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
15: goto 17
16: StackMap locals:
StackMap stack:
aload 1
iload 3
iinc 3 1
aconst_null
aastore
17: StackMap locals:
StackMap stack:
iload 3
aload 1
arraylength
if_icmplt 16
18: aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 19 1 array [Ljava/lang/Object;
1 19 2 size I
3 4 3 unchecked [Ljava/lang/Object;
5 19 3 i I
6 19 4 it Ljava/util/Iterator<TE;>;
8 14 5 current TE;
9 14 6 index I
11 12 7 unchecked TT;
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
MethodParameters:
Name Flags
array
public java.util.Set<E> uniqueSet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.uniqueSet:Ljava/util/Set;
ifnonnull 2
1: aload 0
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic org.apache.commons.collections4.set.UnmodifiableSet.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
putfield org.apache.commons.collections4.bag.AbstractMapBag.uniqueSet:Ljava/util/Set;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.uniqueSet:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
Signature: ()Ljava/util/Set<TE;>;
protected void doWriteObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
1: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag java.io.ObjectOutputStream top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
4: aload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 7 1 out Ljava/io/ObjectOutputStream;
3 5 2 entry Ljava/util/Map$Entry<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out final
protected void doReadObject(java.util.Map<E, org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger>, java.io.ObjectInputStream);
descriptor: (Ljava/util/Map;Ljava/io/ObjectInputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
1: aload 2
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 9
4: StackMap locals: int int
StackMap stack:
aload 2
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 5
start local 5 5: aload 2
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 6
start local 6 6: aload 1
aload 5
new org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
dup
iload 6
invokespecial org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.<init>:(I)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
iload 6
iadd
putfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
end local 6 end local 5 8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 3
if_icmplt 4
end local 4 10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 11 1 map Ljava/util/Map<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;
0 11 2 in Ljava/io/ObjectInputStream;
2 11 3 entrySize I
3 10 4 i I
5 8 5 obj TE;
6 8 6 count I
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
Signature: (Ljava/util/Map<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;Ljava/io/ObjectInputStream;)V
MethodParameters:
Name Flags
map final
in final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, 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 org.apache.commons.collections4.Bag
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.commons.collections4.Bag
astore 2
start local 2 5: aload 2
invokeinterface org.apache.commons.collections4.Bag.size:()I
aload 0
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.size:()I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: org.apache.commons.collections4.Bag
StackMap stack:
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag java.lang.Object org.apache.commons.collections4.Bag top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 9: aload 2
aload 3
invokeinterface org.apache.commons.collections4.Bag.getCount:(Ljava/lang/Object;)I
aload 0
aload 3
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.getCount:(Ljava/lang/Object;)I
if_icmpeq 11
10: iconst_0
ireturn
end local 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
0 13 1 object Ljava/lang/Object;
5 13 2 other Lorg/apache/commons/collections4/Bag<*>;
9 11 3 element TE;
MethodParameters:
Name Flags
object final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
astore 4
start local 4 4: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
astore 5
start local 5 5: iload 1
aload 4
ifnonnull 6
iconst_0
goto 7
StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag int java.util.Map$Entry java.util.Iterator java.lang.Object org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
StackMap stack: int
6: aload 4
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag int java.util.Map$Entry java.util.Iterator java.lang.Object org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
StackMap stack: int int
7: aload 5
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
ixor
iadd
istore 1
end local 5 end local 4 end local 2 8: StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
1 10 1 total I
3 8 2 entry Ljava/util/Map$Entry<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;
4 8 4 element TE;
5 8 5 count Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.size:()I
ifne 2
1: ldc "[]"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 1
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 0
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.uniqueSet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 5: goto 13
6: StackMap locals: java.lang.StringBuilder java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 7: aload 0
aload 3
invokevirtual org.apache.commons.collections4.bag.AbstractMapBag.getCount:(Ljava/lang/Object;)I
istore 4
start local 4 8: aload 1
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
9: aload 1
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: aload 1
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
11: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 13
12: aload 1
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
3 16 1 buf Ljava/lang/StringBuilder;
5 16 2 it Ljava/util/Iterator<TE;>;
7 13 3 current Ljava/lang/Object;
8 13 4 count I
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Lorg/apache/commons/collections4/Bag<TE;>;
SourceFile: "AbstractMapBag.java"
NestMembers:
org.apache.commons.collections4.bag.AbstractMapBag$BagIterator org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
BagIterator = org.apache.commons.collections4.bag.AbstractMapBag$BagIterator of org.apache.commons.collections4.bag.AbstractMapBag
protected MutableInteger = org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger of org.apache.commons.collections4.bag.AbstractMapBag