public class org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator<E> extends org.apache.commons.collections4.iterators.AbstractIteratorDecorator<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator
super_class: org.apache.commons.collections4.iterators.AbstractIteratorDecorator
{
protected final org.apache.commons.collections4.multiset.AbstractMapMultiSet<E> parent;
descriptor: Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet<TE;>;
protected E lastElement;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Signature: TE;
protected boolean canRemove;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected void <init>(java.util.Iterator<E>, org.apache.commons.collections4.multiset.AbstractMapMultiSet<E>);
descriptor: (Ljava/util/Iterator;Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.apache.commons.collections4.iterators.AbstractIteratorDecorator.<init>:(Ljava/util/Iterator;)V
1: aload 0
aconst_null
putfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.lastElement:Ljava/lang/Object;
2: aload 0
iconst_0
putfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.canRemove:Z
3: aload 0
aload 2
putfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.parent:Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet$UniqueSetIterator<TE;>;
0 5 1 iterator Ljava/util/Iterator<TE;>;
0 5 2 parent Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet<TE;>;
Signature: (Ljava/util/Iterator<TE;>;Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet<TE;>;)V
MethodParameters:
Name Flags
iterator final
parent final
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokespecial org.apache.commons.collections4.iterators.AbstractIteratorDecorator.next:()Ljava/lang/Object;
putfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.lastElement:Ljava/lang/Object;
1: aload 0
iconst_1
putfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.canRemove:Z
2: aload 0
getfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.lastElement:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet$UniqueSetIterator<TE;>;
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.canRemove:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Iterator remove() can only be called once after next()"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.parent:Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet;
aload 0
getfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.lastElement:Ljava/lang/Object;
invokevirtual org.apache.commons.collections4.multiset.AbstractMapMultiSet.getCount:(Ljava/lang/Object;)I
istore 1
start local 1 3: aload 0
invokespecial org.apache.commons.collections4.iterators.AbstractIteratorDecorator.remove:()V
4: aload 0
getfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.parent:Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet;
aload 0
getfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.lastElement:Ljava/lang/Object;
iload 1
invokevirtual org.apache.commons.collections4.multiset.AbstractMapMultiSet.remove:(Ljava/lang/Object;I)I
pop
5: aload 0
aconst_null
putfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.lastElement:Ljava/lang/Object;
6: aload 0
iconst_0
putfield org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator.canRemove:Z
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/collections4/multiset/AbstractMapMultiSet$UniqueSetIterator<TE;>;
3 8 1 count I
}
Signature: <E:Ljava/lang/Object;>Lorg/apache/commons/collections4/iterators/AbstractIteratorDecorator<TE;>;
SourceFile: "AbstractMapMultiSet.java"
NestHost: org.apache.commons.collections4.multiset.AbstractMapMultiSet
InnerClasses:
protected UniqueSetIterator = org.apache.commons.collections4.multiset.AbstractMapMultiSet$UniqueSetIterator of org.apache.commons.collections4.multiset.AbstractMapMultiSet