public final class com.google.common.collect.Iterables
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.Iterables
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 Lcom/google/common/collect/Iterables;
public static <T> java.lang.Iterable<T> unmodifiableIterable(java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
instanceof com.google.common.collect.Iterables$UnmodifiableIterable
ifne 2
aload 0
instanceof com.google.common.collect.ImmutableCollection
ifeq 4
2: StackMap locals:
StackMap stack:
aload 0
astore 1
start local 1 3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
new com.google.common.collect.Iterables$UnmodifiableIterable
dup
aload 0
invokespecial com.google.common.collect.Iterables$UnmodifiableIterable.<init>:(Ljava/lang/Iterable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterable Ljava/lang/Iterable<+TT;>;
3 4 1 result Ljava/lang/Iterable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
iterable final
public static <E> java.lang.Iterable<E> unmodifiableIterable(com.google.common.collect.ImmutableCollection<E>);
descriptor: (Lcom/google/common/collect/ImmutableCollection;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Iterable
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Lcom/google/common/collect/ImmutableCollection<TE;>;
Signature: <E:Ljava/lang/Object;>(Lcom/google/common/collect/ImmutableCollection<TE;>;)Ljava/lang/Iterable<TE;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
iterable
public static int size(java.lang.Iterable<?>);
descriptor: (Ljava/lang/Iterable;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.util.Collection
ifeq 2
1: aload 0
checkcast java.util.Collection
invokeinterface java.util.Collection.size:()I
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.size:(Ljava/util/Iterator;)I
3: StackMap locals:
StackMap stack: int
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 iterable Ljava/lang/Iterable<*>;
Signature: (Ljava/lang/Iterable<*>;)I
MethodParameters:
Name Flags
iterable
public static boolean contains(java.lang.Iterable<?>, );
descriptor: (Ljava/lang/Iterable;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.util.Collection
ifeq 3
1: aload 0
checkcast java.util.Collection
astore 2
start local 2 2: aload 2
aload 1
invokestatic com.google.common.collect.Collections2.safeContains:(Ljava/util/Collection;Ljava/lang/Object;)Z
ireturn
end local 2 3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.contains:(Ljava/util/Iterator;Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 iterable Ljava/lang/Iterable<*>;
0 4 1 element Ljava/lang/Object;
2 3 2 collection Ljava/util/Collection<*>;
Signature: (Ljava/lang/Iterable<*>;Ljava/lang/Object;)Z
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
iterable
element
public static boolean removeAll(java.lang.Iterable<?>, java.util.Collection<?>);
descriptor: (Ljava/lang/Iterable;Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.util.Collection
ifeq 2
1: aload 0
checkcast java.util.Collection
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.Collection.removeAll:(Ljava/util/Collection;)Z
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.removeAll:(Ljava/util/Iterator;Ljava/util/Collection;)Z
3: StackMap locals:
StackMap stack: int
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 removeFrom Ljava/lang/Iterable<*>;
0 4 1 elementsToRemove Ljava/util/Collection<*>;
Signature: (Ljava/lang/Iterable<*>;Ljava/util/Collection<*>;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
removeFrom
elementsToRemove
public static boolean retainAll(java.lang.Iterable<?>, java.util.Collection<?>);
descriptor: (Ljava/lang/Iterable;Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.util.Collection
ifeq 2
1: aload 0
checkcast java.util.Collection
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
invokeinterface java.util.Collection.retainAll:(Ljava/util/Collection;)Z
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.retainAll:(Ljava/util/Iterator;Ljava/util/Collection;)Z
3: StackMap locals:
StackMap stack: int
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 removeFrom Ljava/lang/Iterable<*>;
0 4 1 elementsToRetain Ljava/util/Collection<*>;
Signature: (Ljava/lang/Iterable<*>;Ljava/util/Collection<*>;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
removeFrom
elementsToRetain
public static <T> boolean removeIf(java.lang.Iterable<T>, com.google.common.base.Predicate<? super T>);
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.util.Collection
ifeq 2
1: aload 0
checkcast java.util.Collection
aload 1
invokeinterface java.util.Collection.removeIf:(Ljava/util/function/Predicate;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.removeIf:(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 removeFrom Ljava/lang/Iterable<TT;>;
0 3 1 predicate Lcom/google/common/base/Predicate<-TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Lcom/google/common/base/Predicate<-TT;>;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
removeFrom
predicate
static <T> T removeFirstMatching(java.lang.Iterable<T>, com.google.common.base.Predicate<? super T>);
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 7
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 4: aload 1
aload 3
invokeinterface com.google.common.base.Predicate.apply:(Ljava/lang/Object;)Z
ifeq 7
5: aload 2
invokeinterface java.util.Iterator.remove:()V
6: aload 3
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 removeFrom Ljava/lang/Iterable<TT;>;
0 9 1 predicate Lcom/google/common/base/Predicate<-TT;>;
2 9 2 iterator Ljava/util/Iterator<TT;>;
4 7 3 next TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Lcom/google/common/base/Predicate<-TT;>;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
removeFrom
predicate
public static boolean elementsEqual(java.lang.Iterable<?>, java.lang.Iterable<?>);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.util.Collection
ifeq 5
aload 1
instanceof java.util.Collection
ifeq 5
1: aload 0
checkcast java.util.Collection
astore 2
start local 2 2: aload 1
checkcast java.util.Collection
astore 3
start local 3 3: aload 2
invokeinterface java.util.Collection.size:()I
aload 3
invokeinterface java.util.Collection.size:()I
if_icmpeq 5
4: iconst_0
ireturn
end local 3 end local 2 5: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.elementsEqual:(Ljava/util/Iterator;Ljava/util/Iterator;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 iterable1 Ljava/lang/Iterable<*>;
0 6 1 iterable2 Ljava/lang/Iterable<*>;
2 5 2 collection1 Ljava/util/Collection<*>;
3 5 3 collection2 Ljava/util/Collection<*>;
Signature: (Ljava/lang/Iterable<*>;Ljava/lang/Iterable<*>;)Z
MethodParameters:
Name Flags
iterable1
iterable2
public static java.lang.String toString(java.lang.Iterable<?>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.toString:(Ljava/util/Iterator;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<*>;
Signature: (Ljava/lang/Iterable<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
iterable
public static <T> T getOnlyElement(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.getOnlyElement:(Ljava/util/Iterator;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;)TT;
MethodParameters:
Name Flags
iterable
public static <T> T getOnlyElement(java.lang.Iterable<? extends T>, );
descriptor: (Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.getOnlyElement:(Ljava/util/Iterator;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<+TT;>;
0 1 1 defaultValue TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;TT;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
iterable
defaultValue
public static <T> T[] toArray(java.lang.Iterable<? extends T>, java.lang.Class<T>);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Class;)[Ljava/lang/Object;
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
iconst_0
invokestatic com.google.common.collect.ObjectArrays.newArray:(Ljava/lang/Class;I)[Ljava/lang/Object;
invokestatic com.google.common.collect.Iterables.toArray:(Ljava/lang/Iterable;[Ljava/lang/Object;)[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<+TT;>;
0 1 1 type Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;Ljava/lang/Class<TT;>;)[TT;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
iterable
type
static <T> T[] toArray(java.lang.Iterable<? extends T>, );
descriptor: (Ljava/lang/Iterable;[Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.collect.Iterables.castOrCopyToCollection:(Ljava/lang/Iterable;)Ljava/util/Collection;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 iterable Ljava/lang/Iterable<+TT;>;
0 2 1 array [Ljava/lang/Object;
1 2 2 collection Ljava/util/Collection<+TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;[TT;)[TT;
MethodParameters:
Name Flags
iterable
array
static [] toArray(java.lang.Iterable<?>);
descriptor: (Ljava/lang/Iterable;)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.collect.Iterables.castOrCopyToCollection:(Ljava/lang/Iterable;)Ljava/util/Collection;
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<*>;
Signature: (Ljava/lang/Iterable<*>;)[Ljava/lang/Object;
MethodParameters:
Name Flags
iterable
private static <E> java.util.Collection<E> castOrCopyToCollection(java.lang.Iterable<E>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/Collection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.util.Collection
ifeq 2
1: aload 0
checkcast java.util.Collection
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/util/Iterator;)Ljava/util/ArrayList;
3: StackMap locals:
StackMap stack: java.util.Collection
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 iterable Ljava/lang/Iterable<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/lang/Iterable<TE;>;)Ljava/util/Collection<TE;>;
MethodParameters:
Name Flags
iterable
public static <T> boolean addAll(java.util.Collection<T>, java.lang.Iterable<? extends T>);
descriptor: (Ljava/util/Collection;Ljava/lang/Iterable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.Collection
ifeq 3
1: aload 1
invokestatic com.google.common.collect.Collections2.cast:(Ljava/lang/Iterable;)Ljava/util/Collection;
astore 2
start local 2 2: aload 0
aload 2
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
ireturn
end local 2 3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Iterable
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.addAll:(Ljava/util/Collection;Ljava/util/Iterator;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 addTo Ljava/util/Collection<TT;>;
0 4 1 elementsToAdd Ljava/lang/Iterable<+TT;>;
2 3 2 c Ljava/util/Collection<+TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;Ljava/lang/Iterable<+TT;>;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
addTo
elementsToAdd
public static int frequency(java.lang.Iterable<?>, );
descriptor: (Ljava/lang/Iterable;Ljava/lang/Object;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof com.google.common.collect.Multiset
ifeq 2
1: aload 0
checkcast com.google.common.collect.Multiset
aload 1
invokeinterface com.google.common.collect.Multiset.count:(Ljava/lang/Object;)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.Set
ifeq 6
3: aload 0
checkcast java.util.Set
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.frequency:(Ljava/util/Iterator;Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 iterable Ljava/lang/Iterable<*>;
0 7 1 element Ljava/lang/Object;
Signature: (Ljava/lang/Iterable<*>;Ljava/lang/Object;)I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
iterable
element
public static <T> java.lang.Iterable<T> cycle(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new com.google.common.collect.Iterables$1
dup
aload 0
invokespecial com.google.common.collect.Iterables$1.<init>:(Ljava/lang/Iterable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 iterable Ljava/lang/Iterable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
iterable final
public static <T> java.lang.Iterable<T> cycle(T[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Iterable;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.collect.Lists.newArrayList:([Ljava/lang/Object;)Ljava/util/ArrayList;
invokestatic com.google.common.collect.Iterables.cycle:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;)Ljava/lang/Iterable<TT;>;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
elements
public static <T> java.lang.Iterable<T> concat(java.lang.Iterable<? extends T>, java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
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 com.google.common.collect.FluentIterable.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljava/lang/Iterable<+TT;>;
0 1 1 b Ljava/lang/Iterable<+TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
a
b
public static <T> java.lang.Iterable<T> concat(java.lang.Iterable<? extends T>, java.lang.Iterable<? extends T>, java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic com.google.common.collect.FluentIterable.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljava/lang/Iterable<+TT;>;
0 1 1 b Ljava/lang/Iterable<+TT;>;
0 1 2 c Ljava/lang/Iterable<+TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
a
b
c
public static <T> java.lang.Iterable<T> concat(java.lang.Iterable<? extends T>, java.lang.Iterable<? extends T>, java.lang.Iterable<? extends T>, java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic com.google.common.collect.FluentIterable.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljava/lang/Iterable<+TT;>;
0 1 1 b Ljava/lang/Iterable<+TT;>;
0 1 2 c Ljava/lang/Iterable<+TT;>;
0 1 3 d Ljava/lang/Iterable<+TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
a
b
c
d
public static <T> java.lang.Iterable<T> concat(java.lang.Iterable<? extends T>[]);
descriptor: ([Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.collect.FluentIterable.concat:([Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inputs [Ljava/lang/Iterable;
Signature: <T:Ljava/lang/Object;>([Ljava/lang/Iterable<+TT;>;)Ljava/lang/Iterable<TT;>;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
inputs
public static <T> java.lang.Iterable<T> concat(java.lang.Iterable<? extends java.lang.Iterable<? extends T>>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.collect.FluentIterable.concat:(Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inputs Ljava/lang/Iterable<+Ljava/lang/Iterable<+TT;>;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+Ljava/lang/Iterable<+TT;>;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
inputs
public static <T> java.lang.Iterable<java.util.List<T>> partition(java.lang.Iterable<T>, int);
descriptor: (Ljava/lang/Iterable;I)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 1
ifle 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
4: new com.google.common.collect.Iterables$2
dup
aload 0
iload 1
invokespecial com.google.common.collect.Iterables$2.<init>:(Ljava/lang/Iterable;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterable Ljava/lang/Iterable<TT;>;
0 5 1 size I
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;I)Ljava/lang/Iterable<Ljava/util/List<TT;>;>;
MethodParameters:
Name Flags
iterable final
size final
public static <T> java.lang.Iterable<java.util.List<T>> paddedPartition(java.lang.Iterable<T>, int);
descriptor: (Ljava/lang/Iterable;I)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 1
ifle 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
4: new com.google.common.collect.Iterables$3
dup
aload 0
iload 1
invokespecial com.google.common.collect.Iterables$3.<init>:(Ljava/lang/Iterable;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterable Ljava/lang/Iterable<TT;>;
0 5 1 size I
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;I)Ljava/lang/Iterable<Ljava/util/List<TT;>;>;
MethodParameters:
Name Flags
iterable final
size final
public static <T> java.lang.Iterable<T> filter(java.lang.Iterable<T>, com.google.common.base.Predicate<? super T>);
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new com.google.common.collect.Iterables$4
dup
aload 0
aload 1
invokespecial com.google.common.collect.Iterables$4.<init>:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 unfiltered Ljava/lang/Iterable<TT;>;
0 3 1 retainIfTrue Lcom/google/common/base/Predicate<-TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Lcom/google/common/base/Predicate<-TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
unfiltered final
retainIfTrue final
public static <T> java.lang.Iterable<T> filter(java.lang.Iterable<?>, java.lang.Class<T>);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Class;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokestatic com.google.common.base.Predicates.instanceOf:(Ljava/lang/Class;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 unfiltered Ljava/lang/Iterable<*>;
0 3 1 desiredType Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<*>;Ljava/lang/Class<TT;>;)Ljava/lang/Iterable<TT;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
unfiltered final
desiredType final
public static <T> boolean any(java.lang.Iterable<T>, com.google.common.base.Predicate<? super T>);
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.any:(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<TT;>;
0 1 1 predicate Lcom/google/common/base/Predicate<-TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Lcom/google/common/base/Predicate<-TT;>;)Z
MethodParameters:
Name Flags
iterable
predicate
public static <T> boolean all(java.lang.Iterable<T>, com.google.common.base.Predicate<? super T>);
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.all:(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<TT;>;
0 1 1 predicate Lcom/google/common/base/Predicate<-TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Lcom/google/common/base/Predicate<-TT;>;)Z
MethodParameters:
Name Flags
iterable
predicate
public static <T> T find(java.lang.Iterable<T>, com.google.common.base.Predicate<? super T>);
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.find:(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<TT;>;
0 1 1 predicate Lcom/google/common/base/Predicate<-TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Lcom/google/common/base/Predicate<-TT;>;)TT;
MethodParameters:
Name Flags
iterable
predicate
public static <T> T find(java.lang.Iterable<? extends T>, com.google.common.base.Predicate<? super T>, );
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Predicate;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
aload 2
invokestatic com.google.common.collect.Iterators.find:(Ljava/util/Iterator;Lcom/google/common/base/Predicate;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<+TT;>;
0 1 1 predicate Lcom/google/common/base/Predicate<-TT;>;
0 1 2 defaultValue TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;Lcom/google/common/base/Predicate<-TT;>;TT;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
iterable
predicate
defaultValue
public static <T> com.google.common.base.Optional<T> tryFind(java.lang.Iterable<T>, com.google.common.base.Predicate<? super T>);
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Optional;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.tryFind:(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<TT;>;
0 1 1 predicate Lcom/google/common/base/Predicate<-TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Lcom/google/common/base/Predicate<-TT;>;)Lcom/google/common/base/Optional<TT;>;
MethodParameters:
Name Flags
iterable
predicate
public static <T> int indexOf(java.lang.Iterable<T>, com.google.common.base.Predicate<? super T>);
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.indexOf:(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<TT;>;
0 1 1 predicate Lcom/google/common/base/Predicate<-TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;Lcom/google/common/base/Predicate<-TT;>;)I
MethodParameters:
Name Flags
iterable
predicate
public static <F, T> java.lang.Iterable<T> transform(java.lang.Iterable<F>, com.google.common.base.Function<? super F, ? extends T>);
descriptor: (Ljava/lang/Iterable;Lcom/google/common/base/Function;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new com.google.common.collect.Iterables$5
dup
aload 0
aload 1
invokespecial com.google.common.collect.Iterables$5.<init>:(Ljava/lang/Iterable;Lcom/google/common/base/Function;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 fromIterable Ljava/lang/Iterable<TF;>;
0 3 1 function Lcom/google/common/base/Function<-TF;+TT;>;
Signature: <F:Ljava/lang/Object;T:Ljava/lang/Object;>(Ljava/lang/Iterable<TF;>;Lcom/google/common/base/Function<-TF;+TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
fromIterable final
function final
public static <T> T get(java.lang.Iterable<T>, );
descriptor: (Ljava/lang/Iterable;I)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
instanceof java.util.List
ifeq 3
2: aload 0
checkcast java.util.List
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
iload 1
invokestatic com.google.common.collect.Iterators.get:(Ljava/util/Iterator;I)Ljava/lang/Object;
4: StackMap locals:
StackMap stack: java.lang.Object
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterable Ljava/lang/Iterable<TT;>;
0 5 1 position I
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;I)TT;
MethodParameters:
Name Flags
iterable
position
public static <T> T get(java.lang.Iterable<? extends T>, int, );
descriptor: (Ljava/lang/Iterable;ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 1
invokestatic com.google.common.collect.Iterators.checkNonnegative:(I)V
2: aload 0
instanceof java.util.List
ifeq 7
3: aload 0
invokestatic com.google.common.collect.Lists.cast:(Ljava/lang/Iterable;)Ljava/util/List;
astore 3
start local 3 4: iload 1
aload 3
invokeinterface java.util.List.size:()I
if_icmpge 5
aload 3
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
goto 6
StackMap locals: java.util.List
StackMap stack:
5: aload 2
StackMap locals:
StackMap stack: java.lang.Object
6: areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
start local 3 8: aload 3
iload 1
invokestatic com.google.common.collect.Iterators.advance:(Ljava/util/Iterator;I)I
pop
9: aload 3
aload 2
invokestatic com.google.common.collect.Iterators.getNext:(Ljava/util/Iterator;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 iterable Ljava/lang/Iterable<+TT;>;
0 10 1 position I
0 10 2 defaultValue TT;
4 7 3 list Ljava/util/List<+TT;>;
8 10 3 iterator Ljava/util/Iterator<+TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;ITT;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
iterable
position
defaultValue
public static <T> T getFirst(java.lang.Iterable<? extends T>, );
descriptor: (Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.getNext:(Ljava/util/Iterator;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 iterable Ljava/lang/Iterable<+TT;>;
0 1 1 defaultValue TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;TT;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
iterable
defaultValue
public static <T> T getLast(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
instanceof java.util.List
ifeq 5
1: aload 0
checkcast java.util.List
astore 1
start local 1 2: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
3: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
4: StackMap locals: java.util.List
StackMap stack:
aload 1
invokestatic com.google.common.collect.Iterables.getLastInNonemptyList:(Ljava/util/List;)Ljava/lang/Object;
areturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.getLast:(Ljava/util/Iterator;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 iterable Ljava/lang/Iterable<TT;>;
2 5 1 list Ljava/util/List<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;)TT;
MethodParameters:
Name Flags
iterable
public static <T> T getLast(java.lang.Iterable<? extends T>, );
descriptor: (Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.util.Collection
ifeq 6
1: aload 0
invokestatic com.google.common.collect.Collections2.cast:(Ljava/lang/Iterable;)Ljava/util/Collection;
astore 2
start local 2 2: aload 2
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 4
3: aload 1
areturn
4: StackMap locals: java.util.Collection
StackMap stack:
aload 0
instanceof java.util.List
ifeq 6
5: aload 0
invokestatic com.google.common.collect.Lists.cast:(Ljava/lang/Iterable;)Ljava/util/List;
invokestatic com.google.common.collect.Iterables.getLastInNonemptyList:(Ljava/util/List;)Ljava/lang/Object;
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 1
invokestatic com.google.common.collect.Iterators.getLast:(Ljava/util/Iterator;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 iterable Ljava/lang/Iterable<+TT;>;
0 7 1 defaultValue TT;
2 6 2 c Ljava/util/Collection<+TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+TT;>;TT;)TT;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
iterable
defaultValue
private static <T> T getLastInNonemptyList(java.util.List<T>);
descriptor: (Ljava/util/List;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/List<TT;>;)TT;
MethodParameters:
Name Flags
list
public static <T> java.lang.Iterable<T> skip(java.lang.Iterable<T>, int);
descriptor: (Ljava/lang/Iterable;I)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 1
iflt 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "number to skip cannot be negative"
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/Object;)V
4: new com.google.common.collect.Iterables$6
dup
aload 0
iload 1
invokespecial com.google.common.collect.Iterables$6.<init>:(Ljava/lang/Iterable;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterable Ljava/lang/Iterable<TT;>;
0 5 1 numberToSkip I
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;I)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
iterable final
numberToSkip final
public static <T> java.lang.Iterable<T> limit(java.lang.Iterable<T>, int);
descriptor: (Ljava/lang/Iterable;I)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 1
iflt 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "limit is negative"
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/Object;)V
4: new com.google.common.collect.Iterables$7
dup
aload 0
iload 1
invokespecial com.google.common.collect.Iterables$7.<init>:(Ljava/lang/Iterable;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterable Ljava/lang/Iterable<TT;>;
0 5 1 limitSize I
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;I)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
iterable final
limitSize final
public static <T> java.lang.Iterable<T> consumingIterable(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new com.google.common.collect.Iterables$8
dup
aload 0
invokespecial com.google.common.collect.Iterables$8.<init>:(Ljava/lang/Iterable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 iterable Ljava/lang/Iterable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
iterable final
public static boolean isEmpty(java.lang.Iterable<?>);
descriptor: (Ljava/lang/Iterable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.util.Collection
ifeq 2
1: aload 0
checkcast java.util.Collection
invokeinterface java.util.Collection.isEmpty:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterable Ljava/lang/Iterable<*>;
Signature: (Ljava/lang/Iterable<*>;)Z
MethodParameters:
Name Flags
iterable
public static <T> java.lang.Iterable<T> mergeSorted(java.lang.Iterable<? extends java.lang.Iterable<? extends T>>, java.util.Comparator<? super T>);
descriptor: (Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "iterables"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
ldc "comparator"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new com.google.common.collect.Iterables$9
dup
aload 0
aload 1
invokespecial com.google.common.collect.Iterables$9.<init>:(Ljava/lang/Iterable;Ljava/util/Comparator;)V
3: astore 2
start local 2 4: new com.google.common.collect.Iterables$UnmodifiableIterable
dup
aload 2
invokespecial com.google.common.collect.Iterables$UnmodifiableIterable.<init>:(Ljava/lang/Iterable;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iterables Ljava/lang/Iterable<+Ljava/lang/Iterable<+TT;>;>;
0 5 1 comparator Ljava/util/Comparator<-TT;>;
4 5 2 iterable Ljava/lang/Iterable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+Ljava/lang/Iterable<+TT;>;>;Ljava/util/Comparator<-TT;>;)Ljava/lang/Iterable<TT;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
MethodParameters:
Name Flags
iterables final
comparator final
static <T> com.google.common.base.Function<java.lang.Iterable<? extends T>, java.util.Iterator<? extends T>> toIterator();
descriptor: ()Lcom/google/common/base/Function;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.common.collect.Iterables$10
dup
invokespecial com.google.common.collect.Iterables$10.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <T:Ljava/lang/Object;>()Lcom/google/common/base/Function<Ljava/lang/Iterable<+TT;>;Ljava/util/Iterator<+TT;>;>;
}
SourceFile: "Iterables.java"
NestMembers:
com.google.common.collect.Iterables$1 com.google.common.collect.Iterables$10 com.google.common.collect.Iterables$2 com.google.common.collect.Iterables$3 com.google.common.collect.Iterables$4 com.google.common.collect.Iterables$5 com.google.common.collect.Iterables$6 com.google.common.collect.Iterables$6$1 com.google.common.collect.Iterables$7 com.google.common.collect.Iterables$8 com.google.common.collect.Iterables$9 com.google.common.collect.Iterables$UnmodifiableIterable
InnerClasses:
com.google.common.collect.Iterables$1
com.google.common.collect.Iterables$10
com.google.common.collect.Iterables$2
com.google.common.collect.Iterables$3
com.google.common.collect.Iterables$4
com.google.common.collect.Iterables$5
com.google.common.collect.Iterables$6
com.google.common.collect.Iterables$7
com.google.common.collect.Iterables$8
com.google.common.collect.Iterables$9
private final UnmodifiableIterable = com.google.common.collect.Iterables$UnmodifiableIterable of com.google.common.collect.Iterables
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)