public class org.apache.commons.collections4.ListUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.ListUtils
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/ListUtils;
public static <T> java.util.List<T> emptyIfNull(java.util.List<T>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: java.util.List
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 list Ljava/util/List<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/List<TT;>;)Ljava/util/List<TT;>;
MethodParameters:
Name Flags
list final
public static <T> java.util.List<T> defaultIfNull(java.util.List<T>, java.util.List<T>);
descriptor: (Ljava/util/List;Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: java.util.List
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 list Ljava/util/List<TT;>;
0 3 1 defaultList Ljava/util/List<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/List<TT;>;Ljava/util/List<TT;>;)Ljava/util/List<TT;>;
MethodParameters:
Name Flags
list final
defaultList final
public static <E> java.util.List<E> intersection(java.util.List<? extends E>, java.util.List<? extends E>);
descriptor: (Ljava/util/List;Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
astore 3
start local 3 2: aload 1
astore 4
start local 4 3: aload 0
invokeinterface java.util.List.size:()I
aload 1
invokeinterface java.util.List.size:()I
if_icmple 6
4: aload 1
astore 3
5: aload 0
astore 4
6: StackMap locals: java.util.List java.util.List java.util.List
StackMap stack:
new java.util.HashSet
dup
aload 3
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 5
start local 5 7: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 12
StackMap locals: java.util.List java.util.List java.util.List java.util.List java.util.List java.util.HashSet top java.util.Iterator
StackMap stack:
8: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 6
start local 6 9: aload 5
aload 6
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 12
10: aload 2
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 5
aload 6
invokevirtual java.util.HashSet.remove:(Ljava/lang/Object;)Z
pop
end local 6 12: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
13: aload 2
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 list1 Ljava/util/List<+TE;>;
0 14 1 list2 Ljava/util/List<+TE;>;
1 14 2 result Ljava/util/List<TE;>;
2 14 3 smaller Ljava/util/List<+TE;>;
3 14 4 larger Ljava/util/List<+TE;>;
7 14 5 hashSet Ljava/util/HashSet<TE;>;
9 12 6 e TE;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<+TE;>;Ljava/util/List<+TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list1 final
list2 final
public static <E> java.util.List<E> subtract(java.util.List<E>, java.util.List<? extends E>);
descriptor: (Ljava/util/List;Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: new org.apache.commons.collections4.bag.HashBag
dup
aload 1
invokespecial org.apache.commons.collections4.bag.HashBag.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 2: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: java.util.List java.util.List java.util.ArrayList org.apache.commons.collections4.bag.HashBag top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 4
start local 4 4: aload 3
aload 4
iconst_1
invokevirtual org.apache.commons.collections4.bag.HashBag.remove:(Ljava/lang/Object;I)Z
ifne 6
5: aload 2
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 list1 Ljava/util/List<TE;>;
0 8 1 list2 Ljava/util/List<+TE;>;
1 8 2 result Ljava/util/ArrayList<TE;>;
2 8 3 bag Lorg/apache/commons/collections4/bag/HashBag<TE;>;
4 6 4 e TE;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;Ljava/util/List<+TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list1 final
list2 final
public static <E> java.util.List<E> sum(java.util.List<? extends E>, java.util.List<? extends E>);
descriptor: (Ljava/util/List;Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.collections4.ListUtils.union:(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
aload 0
aload 1
invokestatic org.apache.commons.collections4.ListUtils.intersection:(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
invokestatic org.apache.commons.collections4.ListUtils.subtract:(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list1 Ljava/util/List<+TE;>;
0 1 1 list2 Ljava/util/List<+TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<+TE;>;Ljava/util/List<+TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list1 final
list2 final
public static <E> java.util.List<E> union(java.util.List<? extends E>, java.util.List<? extends E>);
descriptor: (Ljava/util/List;Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 0
invokeinterface java.util.List.size:()I
aload 1
invokeinterface java.util.List.size:()I
iadd
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 2
aload 0
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
2: aload 2
aload 1
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 list1 Ljava/util/List<+TE;>;
0 4 1 list2 Ljava/util/List<+TE;>;
1 4 2 result Ljava/util/ArrayList<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<+TE;>;Ljava/util/List<+TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list1 final
list2 final
public static <E> java.util.List<E> select(java.util.Collection<? extends E>, org.apache.commons.collections4.Predicate<? super E>);
descriptor: (Ljava/util/Collection;Lorg/apache/commons/collections4/Predicate;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new java.util.ArrayList
dup
aload 0
invokeinterface java.util.Collection.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
invokestatic org.apache.commons.collections4.CollectionUtils.select:(Ljava/lang/Iterable;Lorg/apache/commons/collections4/Predicate;Ljava/util/Collection;)Ljava/util/Collection;
checkcast java.util.List
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inputCollection Ljava/util/Collection<+TE;>;
0 1 1 predicate Lorg/apache/commons/collections4/Predicate<-TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Collection<+TE;>;Lorg/apache/commons/collections4/Predicate<-TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
inputCollection final
predicate final
public static <E> java.util.List<E> selectRejected(java.util.Collection<? extends E>, org.apache.commons.collections4.Predicate<? super E>);
descriptor: (Ljava/util/Collection;Lorg/apache/commons/collections4/Predicate;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new java.util.ArrayList
dup
aload 0
invokeinterface java.util.Collection.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
invokestatic org.apache.commons.collections4.CollectionUtils.selectRejected:(Ljava/lang/Iterable;Lorg/apache/commons/collections4/Predicate;Ljava/util/Collection;)Ljava/util/Collection;
checkcast java.util.List
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inputCollection Ljava/util/Collection<+TE;>;
0 1 1 predicate Lorg/apache/commons/collections4/Predicate<-TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Collection<+TE;>;Lorg/apache/commons/collections4/Predicate<-TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
inputCollection final
predicate final
public static boolean isEqualList(java.util.Collection<?>, java.util.Collection<?>);
descriptor: (Ljava/util/Collection;Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 3
aload 1
ifnull 3
aload 0
invokeinterface java.util.Collection.size:()I
aload 1
invokeinterface java.util.Collection.size:()I
if_icmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 5: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 6: aconst_null
astore 4
start local 4 7: aconst_null
astore 5
start local 5 8: goto 14
9: StackMap locals: java.util.Collection java.util.Collection java.util.Iterator java.util.Iterator java.lang.Object java.lang.Object
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
10: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
11: aload 4
ifnonnull 12
aload 5
ifnull 14
goto 13
StackMap locals:
StackMap stack:
12: aload 4
aload 5
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 14
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 15
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 17
StackMap locals:
StackMap stack:
16: iconst_0
goto 18
StackMap locals:
StackMap stack:
17: iconst_1
StackMap locals:
StackMap stack: int
18: ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 list1 Ljava/util/Collection<*>;
0 19 1 list2 Ljava/util/Collection<*>;
5 19 2 it1 Ljava/util/Iterator<*>;
6 19 3 it2 Ljava/util/Iterator<*>;
7 19 4 obj1 Ljava/lang/Object;
8 19 5 obj2 Ljava/lang/Object;
Signature: (Ljava/util/Collection<*>;Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
list1 final
list2 final
public static int hashCodeForList(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 3: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 4: goto 9
5: StackMap locals: int java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 6: bipush 31
iload 1
imul
aload 3
ifnonnull 7
iconst_0
goto 8
StackMap locals: java.util.Collection int java.util.Iterator java.lang.Object
StackMap stack: int
7: aload 3
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: java.util.Collection int java.util.Iterator java.lang.Object
StackMap stack: int int
8: iadd
istore 1
end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 list Ljava/util/Collection<*>;
3 11 1 hashCode I
4 11 2 it Ljava/util/Iterator<*>;
6 9 3 obj Ljava/lang/Object;
Signature: (Ljava/util/Collection<*>;)I
MethodParameters:
Name Flags
list final
public static <E> java.util.List<E> retainAll(java.util.Collection<E>, java.util.Collection<?>);
descriptor: (Ljava/util/Collection;Ljava/util/Collection;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 0
invokeinterface java.util.Collection.size:()I
aload 1
invokeinterface java.util.Collection.size:()I
invokestatic java.lang.Math.min:(II)I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: java.util.Collection java.util.Collection java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 3: aload 1
aload 3
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 collection Ljava/util/Collection<TE;>;
0 7 1 retain Ljava/util/Collection<*>;
1 7 2 list Ljava/util/List<TE;>;
3 5 3 obj TE;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Collection<TE;>;Ljava/util/Collection<*>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
collection final
retain final
public static <E> java.util.List<E> removeAll(java.util.Collection<E>, java.util.Collection<?>);
descriptor: (Ljava/util/Collection;Ljava/util/Collection;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: java.util.Collection java.util.Collection java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 3: aload 1
aload 3
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifne 5
4: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 collection Ljava/util/Collection<TE;>;
0 7 1 remove Ljava/util/Collection<*>;
1 7 2 list Ljava/util/List<TE;>;
3 5 3 obj TE;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Collection<TE;>;Ljava/util/Collection<*>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
collection final
remove final
public static <E> java.util.List<E> synchronizedList(java.util.List<E>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Collections.synchronizedList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list final
public static <E> java.util.List<E> unmodifiableList(java.util.List<? extends E>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.collections4.list.UnmodifiableList.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<+TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<+TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list final
public static <E> java.util.List<E> predicatedList(java.util.List<E>, org.apache.commons.collections4.Predicate<E>);
descriptor: (Ljava/util/List;Lorg/apache/commons/collections4/Predicate;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.collections4.list.PredicatedList.predicatedList:(Ljava/util/List;Lorg/apache/commons/collections4/Predicate;)Lorg/apache/commons/collections4/list/PredicatedList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<TE;>;
0 1 1 predicate Lorg/apache/commons/collections4/Predicate<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;Lorg/apache/commons/collections4/Predicate<TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list final
predicate final
public static <E> java.util.List<E> transformedList(java.util.List<E>, org.apache.commons.collections4.Transformer<? super E, ? extends E>);
descriptor: (Ljava/util/List;Lorg/apache/commons/collections4/Transformer;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.collections4.list.TransformedList.transformingList:(Ljava/util/List;Lorg/apache/commons/collections4/Transformer;)Lorg/apache/commons/collections4/list/TransformedList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<TE;>;
0 1 1 transformer Lorg/apache/commons/collections4/Transformer<-TE;+TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;Lorg/apache/commons/collections4/Transformer<-TE;+TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list final
transformer final
public static <E> java.util.List<E> lazyList(java.util.List<E>, org.apache.commons.collections4.Factory<? extends E>);
descriptor: (Ljava/util/List;Lorg/apache/commons/collections4/Factory;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.collections4.list.LazyList.lazyList:(Ljava/util/List;Lorg/apache/commons/collections4/Factory;)Lorg/apache/commons/collections4/list/LazyList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<TE;>;
0 1 1 factory Lorg/apache/commons/collections4/Factory<+TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;Lorg/apache/commons/collections4/Factory<+TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list final
factory final
public static <E> java.util.List<E> fixedSizeList(java.util.List<E>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.collections4.list.FixedSizeList.fixedSizeList:(Ljava/util/List;)Lorg/apache/commons/collections4/list/FixedSizeList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
list final
public static <E> int indexOf(java.util.List<E>, org.apache.commons.collections4.Predicate<E>);
descriptor: (Ljava/util/List;Lorg/apache/commons/collections4/Predicate;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnull 8
aload 1
ifnull 8
1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 3
start local 3 4: aload 1
aload 3
invokeinterface org.apache.commons.collections4.Predicate.evaluate:(Ljava/lang/Object;)Z
ifeq 6
5: iload 2
ireturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 2 8: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 list Ljava/util/List<TE;>;
0 9 1 predicate Lorg/apache/commons/collections4/Predicate<TE;>;
2 8 2 i I
4 6 3 item TE;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;Lorg/apache/commons/collections4/Predicate<TE;>;)I
MethodParameters:
Name Flags
list final
predicate final
public static <E> java.util.List<E> longestCommonSubsequence(java.util.List<E>, java.util.List<E>);
descriptor: (Ljava/util/List;Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.collections4.functors.DefaultEquator.defaultEquator:()Lorg/apache/commons/collections4/functors/DefaultEquator;
invokestatic org.apache.commons.collections4.ListUtils.longestCommonSubsequence:(Ljava/util/List;Ljava/util/List;Lorg/apache/commons/collections4/Equator;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljava/util/List<TE;>;
0 1 1 b Ljava/util/List<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;Ljava/util/List<TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
a final
b final
public static <E> java.util.List<E> longestCommonSubsequence(java.util.List<E>, java.util.List<E>, org.apache.commons.collections4.Equator<? super E>);
descriptor: (Ljava/util/List;Ljava/util/List;Lorg/apache/commons/collections4/Equator;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
ldc "List must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "Equator must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new org.apache.commons.collections4.sequence.SequencesComparator
dup
aload 0
aload 1
aload 2
invokespecial org.apache.commons.collections4.sequence.SequencesComparator.<init>:(Ljava/util/List;Ljava/util/List;Lorg/apache/commons/collections4/Equator;)V
astore 3
start local 3 5: aload 3
invokevirtual org.apache.commons.collections4.sequence.SequencesComparator.getScript:()Lorg/apache/commons/collections4/sequence/EditScript;
astore 4
start local 4 6: new org.apache.commons.collections4.ListUtils$LcsVisitor
dup
invokespecial org.apache.commons.collections4.ListUtils$LcsVisitor.<init>:()V
astore 5
start local 5 7: aload 4
aload 5
invokevirtual org.apache.commons.collections4.sequence.EditScript.visit:(Lorg/apache/commons/collections4/sequence/CommandVisitor;)V
8: aload 5
invokevirtual org.apache.commons.collections4.ListUtils$LcsVisitor.getSubSequence:()Ljava/util/List;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 a Ljava/util/List<TE;>;
0 9 1 b Ljava/util/List<TE;>;
0 9 2 equator Lorg/apache/commons/collections4/Equator<-TE;>;
5 9 3 comparator Lorg/apache/commons/collections4/sequence/SequencesComparator<TE;>;
6 9 4 script Lorg/apache/commons/collections4/sequence/EditScript<TE;>;
7 9 5 visitor Lorg/apache/commons/collections4/ListUtils$LcsVisitor<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<TE;>;Ljava/util/List<TE;>;Lorg/apache/commons/collections4/Equator<-TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
a final
b final
equator final
public static java.lang.String longestCommonSubsequence(java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
ldc "CharSequence must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.commons.collections4.ListUtils$CharSequenceAsList
dup
aload 0
invokespecial org.apache.commons.collections4.ListUtils$CharSequenceAsList.<init>:(Ljava/lang/CharSequence;)V
new org.apache.commons.collections4.ListUtils$CharSequenceAsList
dup
aload 1
invokespecial org.apache.commons.collections4.ListUtils$CharSequenceAsList.<init>:(Ljava/lang/CharSequence;)V
invokestatic org.apache.commons.collections4.ListUtils.longestCommonSubsequence:(Ljava/util/List;Ljava/util/List;)Ljava/util/List;
astore 2
start local 2 3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 4: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: java.lang.CharSequence java.lang.CharSequence java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Character
astore 4
start local 4 6: aload 3
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 a Ljava/lang/CharSequence;
0 9 1 b Ljava/lang/CharSequence;
3 9 2 lcs Ljava/util/List<Ljava/lang/Character;>;
4 9 3 sb Ljava/lang/StringBuilder;
6 7 4 ch Ljava/lang/Character;
MethodParameters:
Name Flags
a final
b final
public static <T> java.util.List<java.util.List<T>> partition(java.util.List<T>, int);
descriptor: (Ljava/util/List;I)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "List must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
ifgt 4
3: new java.lang.IllegalArgumentException
dup
ldc "Size must be greater than 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new org.apache.commons.collections4.ListUtils$Partition
dup
aload 0
iload 1
invokespecial org.apache.commons.collections4.ListUtils$Partition.<init>:(Ljava/util/List;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 list Ljava/util/List<TT;>;
0 5 1 size I
Signature: <T:Ljava/lang/Object;>(Ljava/util/List<TT;>;I)Ljava/util/List<Ljava/util/List<TT;>;>;
MethodParameters:
Name Flags
list final
size final
}
SourceFile: "ListUtils.java"
NestMembers:
org.apache.commons.collections4.ListUtils$CharSequenceAsList org.apache.commons.collections4.ListUtils$LcsVisitor org.apache.commons.collections4.ListUtils$Partition
InnerClasses:
private final CharSequenceAsList = org.apache.commons.collections4.ListUtils$CharSequenceAsList of org.apache.commons.collections4.ListUtils
private final LcsVisitor = org.apache.commons.collections4.ListUtils$LcsVisitor of org.apache.commons.collections4.ListUtils
private Partition = org.apache.commons.collections4.ListUtils$Partition of org.apache.commons.collections4.ListUtils