public class org.apache.commons.collections4.iterators.EnumerationIterator<E> implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.iterators.EnumerationIterator
super_class: java.lang.Object
{
private final java.util.Collection<? super E> collection;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<-TE;>;
private java.util.Enumeration<? extends E> enumeration;
descriptor: Ljava/util/Enumeration;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Enumeration<+TE;>;
private E last;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TE;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
invokespecial org.apache.commons.collections4.iterators.EnumerationIterator.<init>:(Ljava/util/Enumeration;Ljava/util/Collection;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/iterators/EnumerationIterator<TE;>;
public void <init>(java.util.Enumeration<? extends E>);
descriptor: (Ljava/util/Enumeration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.apache.commons.collections4.iterators.EnumerationIterator.<init>:(Ljava/util/Enumeration;Ljava/util/Collection;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/iterators/EnumerationIterator<TE;>;
0 2 1 enumeration Ljava/util/Enumeration<+TE;>;
Signature: (Ljava/util/Enumeration<+TE;>;)V
MethodParameters:
Name Flags
enumeration final
public void <init>(java.util.Enumeration<? extends E>, java.util.Collection<? super E>);
descriptor: (Ljava/util/Enumeration;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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 0
aload 1
putfield org.apache.commons.collections4.iterators.EnumerationIterator.enumeration:Ljava/util/Enumeration;
2: aload 0
aload 2
putfield org.apache.commons.collections4.iterators.EnumerationIterator.collection:Ljava/util/Collection;
3: aload 0
aconst_null
putfield org.apache.commons.collections4.iterators.EnumerationIterator.last:Ljava/lang/Object;
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/iterators/EnumerationIterator<TE;>;
0 5 1 enumeration Ljava/util/Enumeration<+TE;>;
0 5 2 collection Ljava/util/Collection<-TE;>;
Signature: (Ljava/util/Enumeration<+TE;>;Ljava/util/Collection<-TE;>;)V
MethodParameters:
Name Flags
enumeration final
collection final
public boolean hasNext();
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.iterators.EnumerationIterator.enumeration:Ljava/util/Enumeration;
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/iterators/EnumerationIterator<TE;>;
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
getfield org.apache.commons.collections4.iterators.EnumerationIterator.enumeration:Ljava/util/Enumeration;
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
putfield org.apache.commons.collections4.iterators.EnumerationIterator.last:Ljava/lang/Object;
1: aload 0
getfield org.apache.commons.collections4.iterators.EnumerationIterator.last:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/iterators/EnumerationIterator<TE;>;
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.iterators.EnumerationIterator.collection:Ljava/util/Collection;
ifnull 5
1: aload 0
getfield org.apache.commons.collections4.iterators.EnumerationIterator.last:Ljava/lang/Object;
ifnull 4
2: aload 0
getfield org.apache.commons.collections4.iterators.EnumerationIterator.collection:Ljava/util/Collection;
aload 0
getfield org.apache.commons.collections4.iterators.EnumerationIterator.last:Ljava/lang/Object;
invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
pop
3: goto 6
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "next() must have been called for remove() to function"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "No Collection associated with this Iterator"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/collections4/iterators/EnumerationIterator<TE;>;
public java.util.Enumeration<? extends E> getEnumeration();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.iterators.EnumerationIterator.enumeration:Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/iterators/EnumerationIterator<TE;>;
Signature: ()Ljava/util/Enumeration<+TE;>;
public void setEnumeration(java.util.Enumeration<? extends E>);
descriptor: (Ljava/util/Enumeration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.commons.collections4.iterators.EnumerationIterator.enumeration:Ljava/util/Enumeration;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/iterators/EnumerationIterator<TE;>;
0 2 1 enumeration Ljava/util/Enumeration<+TE;>;
Signature: (Ljava/util/Enumeration<+TE;>;)V
MethodParameters:
Name Flags
enumeration final
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "EnumerationIterator.java"