public final class org.glassfish.grizzly.http.server.util.Enumerator<E> implements java.util.Enumeration<E>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.util.Enumerator
super_class: java.lang.Object
{
private java.util.Iterator<E> iterator;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<TE;>;
public void <init>(java.util.Collection<E>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokespecial org.glassfish.grizzly.http.server.util.Enumerator.<init>:(Ljava/util/Iterator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
0 2 1 collection Ljava/util/Collection<TE;>;
Signature: (Ljava/util/Collection<TE;>;)V
MethodParameters:
Name Flags
collection
public void <init>(java.util.Collection<E>, );
descriptor: (Ljava/util/Collection;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
iload 2
invokespecial org.glassfish.grizzly.http.server.util.Enumerator.<init>:(Ljava/util/Iterator;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
0 2 1 collection Ljava/util/Collection<TE;>;
0 2 2 clone Z
Signature: (Ljava/util/Collection<TE;>;Z)V
MethodParameters:
Name Flags
collection
clone
public void <init>(java.lang.Iterable<E>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokespecial org.glassfish.grizzly.http.server.util.Enumerator.<init>:(Ljava/util/Iterator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
0 2 1 iterable Ljava/lang/Iterable<TE;>;
Signature: (Ljava/lang/Iterable<TE;>;)V
MethodParameters:
Name Flags
iterable
public void <init>(java.lang.Iterable<E>, );
descriptor: (Ljava/lang/Iterable;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
iload 2
invokespecial org.glassfish.grizzly.http.server.util.Enumerator.<init>:(Ljava/util/Iterator;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
0 2 1 iterable Ljava/lang/Iterable<TE;>;
0 2 2 clone Z
Signature: (Ljava/lang/Iterable<TE;>;Z)V
MethodParameters:
Name Flags
iterable
clone
public void <init>(java.util.Iterator<E>);
descriptor: (Ljava/util/Iterator;)V
flags: (0x0001) ACC_PUBLIC
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
aconst_null
putfield org.glassfish.grizzly.http.server.util.Enumerator.iterator:Ljava/util/Iterator;
2: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.util.Enumerator.iterator:Ljava/util/Iterator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
0 4 1 iterator Ljava/util/Iterator<TE;>;
Signature: (Ljava/util/Iterator<TE;>;)V
MethodParameters:
Name Flags
iterator
public void <init>(java.util.Iterator<E>, );
descriptor: (Ljava/util/Iterator;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.glassfish.grizzly.http.server.util.Enumerator.iterator:Ljava/util/Iterator;
2: iload 2
ifne 5
3: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.util.Enumerator.iterator:Ljava/util/Iterator;
4: goto 10
5: StackMap locals: org.glassfish.grizzly.http.server.util.Enumerator java.util.Iterator int
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 6: goto 8
7: StackMap locals: java.util.List
StackMap stack:
aload 3
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
9: aload 0
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
putfield org.glassfish.grizzly.http.server.util.Enumerator.iterator:Ljava/util/Iterator;
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
0 11 1 iterator Ljava/util/Iterator<TE;>;
0 11 2 clone Z
6 10 3 list Ljava/util/List<TE;>;
Signature: (Ljava/util/Iterator<TE;>;Z)V
MethodParameters:
Name Flags
iterator
clone
public void <init>(java.util.Map<?, E>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokespecial org.glassfish.grizzly.http.server.util.Enumerator.<init>:(Ljava/util/Iterator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
0 2 1 map Ljava/util/Map<*TE;>;
Signature: (Ljava/util/Map<*TE;>;)V
MethodParameters:
Name Flags
map
public void <init>(java.util.Map<?, E>, );
descriptor: (Ljava/util/Map;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
iload 2
invokespecial org.glassfish.grizzly.http.server.util.Enumerator.<init>:(Ljava/util/Iterator;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
0 2 1 map Ljava/util/Map<*TE;>;
0 2 2 clone Z
Signature: (Ljava/util/Map<*TE;>;Z)V
MethodParameters:
Name Flags
map
clone
public boolean hasMoreElements();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.Enumerator.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
public E nextElement();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.Enumerator.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/Enumerator<TE;>;
Exceptions:
throws java.util.NoSuchElementException
Signature: ()TE;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Enumeration<TE;>;
SourceFile: "Enumerator.java"