public class org.apache.commons.collections4.EnumerationUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.EnumerationUtils
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/EnumerationUtils;
public static <T> T get(java.util.Enumeration<T>, );
descriptor: (Ljava/util/Enumeration;I)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: iload 2
invokestatic org.apache.commons.collections4.CollectionUtils.checkIndexBounds:(I)V
2: goto 7
3: StackMap locals: int
StackMap stack:
iinc 2 -1
4: iload 2
iconst_m1
if_icmpne 6
5: aload 0
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
8: new java.lang.IndexOutOfBoundsException
dup
new java.lang.StringBuilder
dup
ldc "Entry does not exist: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 e Ljava/util/Enumeration<TT;>;
0 9 1 index I
1 9 2 i I
Signature: <T:Ljava/lang/Object;>(Ljava/util/Enumeration<TT;>;I)TT;
MethodParameters:
Name Flags
e final
index final
public static <E> java.util.List<E> toList(java.util.Enumeration<? extends E>);
descriptor: (Ljava/util/Enumeration;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.collections4.iterators.EnumerationIterator
dup
aload 0
invokespecial org.apache.commons.collections4.iterators.EnumerationIterator.<init>:(Ljava/util/Enumeration;)V
invokestatic org.apache.commons.collections4.IteratorUtils.toList:(Ljava/util/Iterator;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 enumeration Ljava/util/Enumeration<+TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Enumeration<+TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
enumeration final
public static java.util.List<java.lang.String> toList(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
invokevirtual java.util.StringTokenizer.countTokens:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: goto 3
2: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 0
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 2
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 stringTokenizer Ljava/util/StringTokenizer;
1 5 1 result Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/StringTokenizer;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
stringTokenizer final
}
SourceFile: "EnumerationUtils.java"