public class org.apache.commons.collections.IterableUtils extends java.lang.Object
{
static final org.apache.commons.collections.FluentIterable EMPTY_ITERABLE;
public void <init>()
{
org.apache.commons.collections.IterableUtils v;
v := @this: org.apache.commons.collections.IterableUtils;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public static java.lang.Iterable emptyIterable()
{
org.apache.commons.collections.FluentIterable v;
v = <org.apache.commons.collections.IterableUtils: org.apache.commons.collections.FluentIterable EMPTY_ITERABLE>;
return v;
}
public static java.lang.Iterable chainedIterable(java.lang.Iterable, java.lang.Iterable)
{
java.lang.Iterable[] v;
java.lang.Iterable v, v, v;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable;
v = newarray (java.lang.Iterable)[2];
v[0] = v;
v[1] = v;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Iterable chainedIterable(java.lang.Iterable[])>(v);
return v;
}
public static java.lang.Iterable chainedIterable(java.lang.Iterable, java.lang.Iterable, java.lang.Iterable)
{
java.lang.Iterable[] v;
java.lang.Iterable v, v, v, v;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable;
v = newarray (java.lang.Iterable)[3];
v[0] = v;
v[1] = v;
v[2] = v;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Iterable chainedIterable(java.lang.Iterable[])>(v);
return v;
}
public static java.lang.Iterable chainedIterable(java.lang.Iterable, java.lang.Iterable, java.lang.Iterable, java.lang.Iterable)
{
java.lang.Iterable[] v;
java.lang.Iterable v, v, v, v, v;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable;
v = newarray (java.lang.Iterable)[4];
v[0] = v;
v[1] = v;
v[2] = v;
v[3] = v;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Iterable chainedIterable(java.lang.Iterable[])>(v);
return v;
}
public static transient java.lang.Iterable chainedIterable(java.lang.Iterable[])
{
java.lang.Iterable[] v;
org.apache.commons.collections.IterableUtils$2 v;
v := @parameter: java.lang.Iterable[];
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable[])>(v);
v = new org.apache.commons.collections.IterableUtils$2;
specialinvoke v.<org.apache.commons.collections.IterableUtils$2: void <init>(java.lang.Iterable[])>(v);
return v;
}
public static java.lang.Iterable collatedIterable(java.lang.Iterable, java.lang.Iterable)
{
java.lang.Iterable[] v;
org.apache.commons.collections.IterableUtils$3 v;
java.lang.Iterable v, v;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable;
v = newarray (java.lang.Iterable)[2];
v[0] = v;
v[1] = v;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable[])>(v);
v = new org.apache.commons.collections.IterableUtils$3;
specialinvoke v.<org.apache.commons.collections.IterableUtils$3: void <init>(java.lang.Iterable,java.lang.Iterable)>(v, v);
return v;
}
public static java.lang.Iterable collatedIterable(java.util.Comparator, java.lang.Iterable, java.lang.Iterable)
{
java.lang.Iterable[] v;
org.apache.commons.collections.IterableUtils$4 v;
java.util.Comparator v;
java.lang.Iterable v, v;
v := @parameter: java.util.Comparator;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable;
v = newarray (java.lang.Iterable)[2];
v[0] = v;
v[1] = v;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable[])>(v);
v = new org.apache.commons.collections.IterableUtils$4;
specialinvoke v.<org.apache.commons.collections.IterableUtils$4: void <init>(java.util.Comparator,java.lang.Iterable,java.lang.Iterable)>(v, v, v);
return v;
}
public static java.lang.Iterable filteredIterable(java.lang.Iterable, org.apache.commons.collections.Predicate)
{
org.apache.commons.collections.IterableUtils$5 v;
org.apache.commons.collections.Predicate v;
java.lang.Iterable v;
java.lang.NullPointerException v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Predicate;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Predicate must not be null.");
throw v;
label:
v = new org.apache.commons.collections.IterableUtils$5;
specialinvoke v.<org.apache.commons.collections.IterableUtils$5: void <init>(java.lang.Iterable,org.apache.commons.collections.Predicate)>(v, v);
return v;
}
public static java.lang.Iterable boundedIterable(java.lang.Iterable, long)
{
byte v;
org.apache.commons.collections.IterableUtils$6 v;
long v;
java.lang.IllegalArgumentException v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v := @parameter: long;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
v = v cmp 0L;
if v >= 0 goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("MaxSize parameter must not be negative.");
throw v;
label:
v = new org.apache.commons.collections.IterableUtils$6;
specialinvoke v.<org.apache.commons.collections.IterableUtils$6: void <init>(java.lang.Iterable,long)>(v, v);
return v;
}
public static java.lang.Iterable loopingIterable(java.lang.Iterable)
{
java.lang.Iterable v;
org.apache.commons.collections.IterableUtils$7 v;
v := @parameter: java.lang.Iterable;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
v = new org.apache.commons.collections.IterableUtils$7;
specialinvoke v.<org.apache.commons.collections.IterableUtils$7: void <init>(java.lang.Iterable)>(v);
return v;
}
public static java.lang.Iterable reversedIterable(java.lang.Iterable)
{
org.apache.commons.collections.IterableUtils$8 v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
v = new org.apache.commons.collections.IterableUtils$8;
specialinvoke v.<org.apache.commons.collections.IterableUtils$8: void <init>(java.lang.Iterable)>(v);
return v;
}
public static java.lang.Iterable skippingIterable(java.lang.Iterable, long)
{
byte v;
org.apache.commons.collections.IterableUtils$9 v;
long v;
java.lang.IllegalArgumentException v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v := @parameter: long;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
v = v cmp 0L;
if v >= 0 goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("ElementsToSkip parameter must not be negative.");
throw v;
label:
v = new org.apache.commons.collections.IterableUtils$9;
specialinvoke v.<org.apache.commons.collections.IterableUtils$9: void <init>(java.lang.Iterable,long)>(v, v);
return v;
}
public static java.lang.Iterable transformedIterable(java.lang.Iterable, org.apache.commons.collections.Transformer)
{
org.apache.commons.collections.IterableUtils$10 v;
org.apache.commons.collections.Transformer v;
java.lang.Iterable v;
java.lang.NullPointerException v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Transformer;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Transformer must not be null.");
throw v;
label:
v = new org.apache.commons.collections.IterableUtils$10;
specialinvoke v.<org.apache.commons.collections.IterableUtils$10: void <init>(java.lang.Iterable,org.apache.commons.collections.Transformer)>(v, v);
return v;
}
public static java.lang.Iterable uniqueIterable(java.lang.Iterable)
{
org.apache.commons.collections.IterableUtils$11 v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
v = new org.apache.commons.collections.IterableUtils$11;
specialinvoke v.<org.apache.commons.collections.IterableUtils$11: void <init>(java.lang.Iterable)>(v);
return v;
}
public static java.lang.Iterable unmodifiableIterable(java.lang.Iterable)
{
org.apache.commons.collections.IterableUtils$UnmodifiableIterable v;
java.lang.Iterable v;
boolean v;
v := @parameter: java.lang.Iterable;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
v = v instanceof org.apache.commons.collections.IterableUtils$UnmodifiableIterable;
if v == 0 goto label;
return v;
label:
v = new org.apache.commons.collections.IterableUtils$UnmodifiableIterable;
specialinvoke v.<org.apache.commons.collections.IterableUtils$UnmodifiableIterable: void <init>(java.lang.Iterable)>(v);
return v;
}
public static java.lang.Iterable zippingIterable(java.lang.Iterable, java.lang.Iterable)
{
org.apache.commons.collections.IterableUtils$12 v;
java.lang.Iterable v, v;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable;
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
v = new org.apache.commons.collections.IterableUtils$12;
specialinvoke v.<org.apache.commons.collections.IterableUtils$12: void <init>(java.lang.Iterable,java.lang.Iterable)>(v, v);
return v;
}
public static transient java.lang.Iterable zippingIterable(java.lang.Iterable, java.lang.Iterable[])
{
org.apache.commons.collections.IterableUtils$13 v;
java.lang.Iterable[] v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Iterable[];
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable[])>(v);
v = new org.apache.commons.collections.IterableUtils$13;
specialinvoke v.<org.apache.commons.collections.IterableUtils$13: void <init>(java.lang.Iterable[],java.lang.Iterable)>(v, v);
return v;
}
public static java.lang.Iterable emptyIfNull(java.lang.Iterable)
{
java.lang.Iterable v, v;
v := @parameter: java.lang.Iterable;
if v != null goto label;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Iterable emptyIterable()>();
goto label;
label:
v = v;
label:
return v;
}
public static void forEach(java.lang.Iterable, org.apache.commons.collections.Closure)
{
java.util.Iterator v;
org.apache.commons.collections.Closure v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Closure;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
staticinvoke <org.apache.commons.collections.IteratorUtils: void forEach(java.util.Iterator,org.apache.commons.collections.Closure)>(v, v);
return;
}
public static java.lang.Object forEachButLast(java.lang.Iterable, org.apache.commons.collections.Closure)
{
java.util.Iterator v;
java.lang.Object v;
org.apache.commons.collections.Closure v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Closure;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: java.lang.Object forEachButLast(java.util.Iterator,org.apache.commons.collections.Closure)>(v, v);
return v;
}
public static java.lang.Object find(java.lang.Iterable, org.apache.commons.collections.Predicate)
{
java.util.Iterator v;
org.apache.commons.collections.Predicate v;
java.lang.Object v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Predicate;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: java.lang.Object find(java.util.Iterator,org.apache.commons.collections.Predicate)>(v, v);
return v;
}
public static int indexOf(java.lang.Iterable, org.apache.commons.collections.Predicate)
{
java.util.Iterator v;
org.apache.commons.collections.Predicate v;
int v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Predicate;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: int indexOf(java.util.Iterator,org.apache.commons.collections.Predicate)>(v, v);
return v;
}
public static boolean matchesAll(java.lang.Iterable, org.apache.commons.collections.Predicate)
{
java.util.Iterator v;
org.apache.commons.collections.Predicate v;
java.lang.Iterable v;
boolean v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Predicate;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: boolean matchesAll(java.util.Iterator,org.apache.commons.collections.Predicate)>(v, v);
return v;
}
public static boolean matchesAny(java.lang.Iterable, org.apache.commons.collections.Predicate)
{
java.util.Iterator v;
org.apache.commons.collections.Predicate v;
java.lang.Iterable v;
boolean v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Predicate;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: boolean matchesAny(java.util.Iterator,org.apache.commons.collections.Predicate)>(v, v);
return v;
}
public static long countMatches(java.lang.Iterable, org.apache.commons.collections.Predicate)
{
org.apache.commons.collections.Predicate v;
int v;
java.lang.Iterable v, v, v;
java.lang.NullPointerException v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Predicate;
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Predicate must not be null.");
throw v;
label:
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Iterable emptyIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Iterable filteredIterable(java.lang.Iterable,org.apache.commons.collections.Predicate)>(v, v);
v = staticinvoke <org.apache.commons.collections.IterableUtils: int size(java.lang.Iterable)>(v);
return v;
}
public static boolean isEmpty(java.lang.Iterable)
{
java.util.Iterator v;
java.lang.Iterable v;
boolean v, v, v;
v := @parameter: java.lang.Iterable;
v = v instanceof java.util.Collection;
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Collection: boolean isEmpty()>();
return v;
label:
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: boolean isEmpty(java.util.Iterator)>(v);
return v;
}
public static boolean contains(java.lang.Iterable, java.lang.Object)
{
java.util.Iterator v;
java.lang.Object v;
java.lang.Iterable v;
boolean v, v, v;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Object;
v = v instanceof java.util.Collection;
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Collection: boolean contains(java.lang.Object)>(v);
return v;
label:
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: boolean contains(java.util.Iterator,java.lang.Object)>(v, v);
return v;
}
public static boolean contains(java.lang.Iterable, java.lang.Object, org.apache.commons.collections.Equator)
{
org.apache.commons.collections.Predicate v;
java.lang.Object v;
org.apache.commons.collections.Equator v;
java.lang.Iterable v;
java.lang.NullPointerException v;
boolean v;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Object;
v := @parameter: org.apache.commons.collections.Equator;
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Equator must not be null.");
throw v;
label:
v = staticinvoke <org.apache.commons.collections.functors.EqualPredicate: org.apache.commons.collections.Predicate equalPredicate(java.lang.Object,org.apache.commons.collections.Equator)>(v, v);
v = staticinvoke <org.apache.commons.collections.IterableUtils: boolean matchesAny(java.lang.Iterable,org.apache.commons.collections.Predicate)>(v, v);
return v;
}
public static int frequency(java.lang.Iterable, java.lang.Object)
{
org.apache.commons.collections.Predicate v;
java.lang.Iterable v, v, v;
byte v;
int v, v;
java.lang.Object v;
boolean v, v, v;
v := @parameter: java.lang.Iterable;
v := @parameter: java.lang.Object;
v = v instanceof java.util.Set;
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Set: boolean contains(java.lang.Object)>(v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
label:
v = v instanceof org.apache.commons.collections.Bag;
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.commons.collections.Bag: int getCount(java.lang.Object)>(v);
return v;
label:
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Iterable emptyIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.functors.EqualPredicate: org.apache.commons.collections.Predicate equalPredicate(java.lang.Object)>(v);
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Iterable filteredIterable(java.lang.Iterable,org.apache.commons.collections.Predicate)>(v, v);
v = staticinvoke <org.apache.commons.collections.IterableUtils: int size(java.lang.Iterable)>(v);
return v;
}
public static java.lang.Object get(java.lang.Iterable, int)
{
java.util.Iterator v;
int v;
java.lang.Object v, v;
java.lang.Iterable v;
boolean v;
v := @parameter: java.lang.Iterable;
v := @parameter: int;
staticinvoke <org.apache.commons.collections.CollectionUtils: void checkIndexBounds(int)>(v);
v = v instanceof java.util.List;
if v == 0 goto label;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
return v;
label:
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: java.lang.Object get(java.util.Iterator,int)>(v, v);
return v;
}
public static java.lang.Object first(java.lang.Iterable)
{
java.lang.Object v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Object get(java.lang.Iterable,int)>(v, 0);
return v;
}
public static int size(java.lang.Iterable)
{
java.util.Iterator v;
int v, v;
java.lang.Iterable v;
boolean v;
v := @parameter: java.lang.Iterable;
v = v instanceof java.util.Collection;
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Collection: int size()>();
return v;
label:
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: int size(java.util.Iterator)>(v);
return v;
}
public static java.util.List partition(java.lang.Iterable, org.apache.commons.collections.Predicate)
{
java.util.List v;
org.apache.commons.collections.Predicate v;
org.apache.commons.collections.Predicate[] v;
org.apache.commons.collections.Factory v;
java.lang.Iterable v;
java.lang.NullPointerException v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Predicate;
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Predicate must not be null.");
throw v;
label:
v = staticinvoke <org.apache.commons.collections.FactoryUtils: org.apache.commons.collections.Factory instantiateFactory(java.lang.Class)>(class "Ljava/util/ArrayList;");
v = newarray (org.apache.commons.collections.Predicate)[1];
v[0] = v;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.List partition(java.lang.Iterable,org.apache.commons.collections.Factory,org.apache.commons.collections.Predicate[])>(v, v, v);
return v;
}
public static transient java.util.List partition(java.lang.Iterable, org.apache.commons.collections.Predicate[])
{
java.util.List v;
org.apache.commons.collections.Predicate[] v;
org.apache.commons.collections.Factory v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Predicate[];
v = staticinvoke <org.apache.commons.collections.FactoryUtils: org.apache.commons.collections.Factory instantiateFactory(java.lang.Class)>(class "Ljava/util/ArrayList;");
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.List partition(java.lang.Iterable,org.apache.commons.collections.Factory,org.apache.commons.collections.Predicate[])>(v, v, v);
return v;
}
public static transient java.util.List partition(java.lang.Iterable, org.apache.commons.collections.Factory, org.apache.commons.collections.Predicate[])
{
org.apache.commons.collections.Predicate v, v;
java.lang.Iterable v, v;
java.lang.NullPointerException v, v;
java.util.ArrayList v;
int v, v, v, v, v, v, v;
org.apache.commons.collections.Factory v;
boolean v, v, v;
java.util.Iterator v;
org.apache.commons.collections.Predicate[] v;
java.util.List v, v;
java.lang.Object v, v, v, v, v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Factory;
v := @parameter: org.apache.commons.collections.Predicate[];
if v != null goto label;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.lang.Iterable emptyIterable()>();
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.List partition(java.lang.Iterable,org.apache.commons.collections.Factory,org.apache.commons.collections.Predicate[])>(v, v, v);
return v;
label:
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Predicates must not be null.");
throw v;
label:
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Predicate must not be null.");
throw v;
label:
v = v + 1;
goto label;
label:
v = lengthof v;
if v >= 1 goto label;
v = interfaceinvoke v.<org.apache.commons.collections.Factory: java.lang.Object create()>();
staticinvoke <org.apache.commons.collections.CollectionUtils: boolean addAll(java.util.Collection,java.lang.Iterable)>(v, v);
v = staticinvoke <java.util.Collections: java.util.List singletonList(java.lang.Object)>(v);
return v;
label:
v = lengthof v;
v = v + 1;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v = 0;
label:
if v >= v goto label;
v = interfaceinvoke v.<org.apache.commons.collections.Factory: java.lang.Object create()>();
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = v + 1;
goto label;
label:
v = interfaceinvoke v.<java.lang.Iterable: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = 0;
v = 0;
label:
if v >= v goto label;
v = v[v];
v = interfaceinvoke v.<org.apache.commons.collections.Predicate: boolean evaluate(java.lang.Object)>(v);
if v == 0 goto label;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
interfaceinvoke v.<java.util.Collection: boolean add(java.lang.Object)>(v);
v = 1;
goto label;
label:
v = v + 1;
goto label;
label:
if v != 0 goto label;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
interfaceinvoke v.<java.util.Collection: boolean add(java.lang.Object)>(v);
goto label;
label:
return v;
}
public static java.util.List toList(java.lang.Iterable)
{
java.util.List v;
java.util.Iterator v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: java.util.List toList(java.util.Iterator)>(v);
return v;
}
public static java.lang.String toString(java.lang.Iterable)
{
java.lang.String v;
java.util.Iterator v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: java.lang.String toString(java.util.Iterator)>(v);
return v;
}
public static java.lang.String toString(java.lang.Iterable, org.apache.commons.collections.Transformer)
{
java.util.Iterator v;
org.apache.commons.collections.Transformer v;
java.lang.String v;
java.lang.Iterable v;
java.lang.NullPointerException v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Transformer;
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Transformer must not be null.");
throw v;
label:
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: java.lang.String toString(java.util.Iterator,org.apache.commons.collections.Transformer)>(v, v);
return v;
}
public static java.lang.String toString(java.lang.Iterable, org.apache.commons.collections.Transformer, java.lang.String, java.lang.String, java.lang.String)
{
java.util.Iterator v;
org.apache.commons.collections.Transformer v;
java.lang.String v, v, v, v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.commons.collections.Transformer;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = staticinvoke <org.apache.commons.collections.IterableUtils: java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)>(v);
v = staticinvoke <org.apache.commons.collections.IteratorUtils: java.lang.String toString(java.util.Iterator,org.apache.commons.collections.Transformer,java.lang.String,java.lang.String,java.lang.String)>(v, v, v, v, v);
return v;
}
static void checkNotNull(java.lang.Iterable)
{
java.lang.Iterable v;
java.lang.NullPointerException v;
v := @parameter: java.lang.Iterable;
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Iterable must not be null.");
throw v;
label:
return;
}
static transient void checkNotNull(java.lang.Iterable[])
{
java.lang.Iterable[] v;
int v, v;
java.lang.Iterable v;
java.lang.NullPointerException v;
v := @parameter: java.lang.Iterable[];
if v != null goto label;
v = new java.lang.NullPointerException;
specialinvoke v.<java.lang.NullPointerException: void <init>(java.lang.String)>("Iterables must not be null.");
throw v;
label:
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
staticinvoke <org.apache.commons.collections.IterableUtils: void checkNotNull(java.lang.Iterable)>(v);
v = v + 1;
goto label;
label:
return;
}
private static java.util.Iterator emptyIteratorIfNull(java.lang.Iterable)
{
java.util.Iterator v;
java.lang.Iterable v;
v := @parameter: java.lang.Iterable;
if v == null goto label;
v = interfaceinvoke v.<java.lang.Iterable: java.util.Iterator iterator()>();
goto label;
label:
v = staticinvoke <org.apache.commons.collections.IteratorUtils: org.apache.commons.collections.ResettableIterator emptyIterator()>();
label:
return v;
}
static void <clinit>()
{
org.apache.commons.collections.IterableUtils$1 v;
v = new org.apache.commons.collections.IterableUtils$1;
specialinvoke v.<org.apache.commons.collections.IterableUtils$1: void <init>()>();
<org.apache.commons.collections.IterableUtils: org.apache.commons.collections.FluentIterable EMPTY_ITERABLE> = v;
return;
}
}