com.google.common.collect.Iterables.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2
tY
tZ
u[
\]^_
`ab c d
ef
gh
ei j
ek l
emnop
tq
er c s t uv
tw x y z{|{}{~
e
e?
e?
e?
t?
?? ? ?
??
g? ?
e?? 0?? 2?
e??
5?
??
t?
??
t?
??
??
???
>??
@?
\??
C??
E??
G??
I?
e?
e?
e?
e?
e?
e??
Q?
e?
e?
??
e?
e? ??
Y[
t?
e? ?
e??
\??
a??
c???
f???
i??
k?
\?I?
p??
r[?? UnmodifiableIterable InnerClasses ()V Code LineNumberTable LocalVariableTable this %Lcom/google/common/collect/Iterables; unmodifiableIterable *(Ljava/lang/Iterable;)Ljava/lang/Iterable; iterable Ljava/lang/Iterable; LocalVariableTypeTable Ljava/lang/Iterable;
StackMapTable Signature J(Ljava/lang/Iterable;)Ljava/lang/Iterable; E(Lcom/google/common/collect/ImmutableCollection;)Ljava/lang/Iterable; /Lcom/google/common/collect/ImmutableCollection; 4Lcom/google/common/collect/ImmutableCollection;
Deprecated e(Lcom/google/common/collect/ImmutableCollection;)Ljava/lang/Iterable; RuntimeVisibleAnnotations Ljava/lang/Deprecated; size (Ljava/lang/Iterable;)I Ljava/lang/Iterable<*>; (Ljava/lang/Iterable<*>;)I contains )(Ljava/lang/Iterable;Ljava/lang/Object;)Z
collection Ljava/util/Collection; element Ljava/lang/Object; Ljava/util/Collection<*>; ,(Ljava/lang/Iterable<*>;Ljava/lang/Object;)Z "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; removeAll -(Ljava/lang/Iterable;Ljava/util/Collection;)Z
removeFrom elementsToRemove 3(Ljava/lang/Iterable<*>;Ljava/util/Collection<*>;)Z retainAll elementsToRetain removeIf 9(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Z predicate "Lcom/google/common/base/Predicate; (Lcom/google/common/base/Predicate<-TT;>; Z(Ljava/lang/Iterable;Lcom/google/common/base/Predicate<-TT;>;)Z removeIfFromRandomAccessList 5(Ljava/util/List;Lcom/google/common/base/Predicate;)Z e )Ljava/lang/UnsupportedOperationException; list Ljava/util/List; from I to TT; Ljava/util/List;op?v V(Ljava/util/List;Lcom/google/common/base/Predicate<-TT;>;)Z slowRemoveIfForRemainingElements 7(Ljava/util/List;Lcom/google/common/base/Predicate;II)V n X(Ljava/util/List;Lcom/google/common/base/Predicate<-TT;>;II)V removeFirstMatching J(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Object; next iterator Ljava/util/Iterator; Ljava/util/Iterator;? \(Ljava/lang/Iterable;Lcom/google/common/base/Predicate<-TT;>;)TT;
elementsEqual +(Ljava/lang/Iterable;Ljava/lang/Iterable;)Z collection1 collection2 iterable1 iterable2 1(Ljava/lang/Iterable<*>;Ljava/lang/Iterable<*>;)Z #Ljavax/annotation/CheckReturnValue; toString ((Ljava/lang/Iterable;)Ljava/lang/String; +(Ljava/lang/Iterable<*>;)Ljava/lang/String; getOnlyElement ((Ljava/lang/Iterable;)Ljava/lang/Object; 4(Ljava/lang/Iterable;)TT; :(Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object; defaultValue Ljava/lang/Iterable<+TT;>; 8(Ljava/lang/Iterable<+TT;>;TT;)TT; toArray :(Ljava/lang/Iterable;Ljava/lang/Class;)[Ljava/lang/Object; type Ljava/lang/Class; array [Ljava/lang/Object; Ljava/lang/Class; Ljava/util/Collection<+TT;>; [TT; L(Ljava/lang/Iterable<+TT;>;Ljava/lang/Class;)[TT; RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; value Array.newInstance(Class, int) <(Ljava/lang/Iterable;[Ljava/lang/Object;)[Ljava/lang/Object; :(Ljava/lang/Iterable<+TT;>;[TT;)[TT; )(Ljava/lang/Iterable;)[Ljava/lang/Object; ,(Ljava/lang/Iterable<*>;)[Ljava/lang/Object; toCollection ,(Ljava/lang/Iterable;)Ljava/util/Collection; Ljava/lang/Iterable;b L(Ljava/lang/Iterable;)Ljava/util/Collection; addAll -(Ljava/util/Collection;Ljava/lang/Iterable;)Z c addTo
elementsToAdd Ljava/util/Collection; N(Ljava/util/Collection;Ljava/lang/Iterable<+TT;>;)Z frequency )(Ljava/lang/Iterable;Ljava/lang/Object;)I ,(Ljava/lang/Iterable<*>;Ljava/lang/Object;)I cycle )([Ljava/lang/Object;)Ljava/lang/Iterable; elements 5([TT;)Ljava/lang/Iterable; concat >(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable; a b e(Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;)Ljava/lang/Iterable; R(Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable; (Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;)Ljava/lang/Iterable; f(Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable; d ?(Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;Ljava/lang/Iterable<+TT;>;)Ljava/lang/Iterable; +([Ljava/lang/Iterable;)Ljava/lang/Iterable; inputs [Ljava/lang/Iterable; [Ljava/lang/Iterable<+TT;>; L([Ljava/lang/Iterable<+TT;>;)Ljava/lang/Iterable; 1Ljava/lang/Iterable<+Ljava/lang/Iterable<+TT;>;>; b(Ljava/lang/Iterable<+Ljava/lang/Iterable<+TT;>;>;)Ljava/lang/Iterable; iterators *(Ljava/lang/Iterable;)Ljava/util/Iterator; iterables y(Ljava/lang/Iterable<+Ljava/lang/Iterable<+TT;>;>;)Ljava/util/Iterator;>; partition +(Ljava/lang/Iterable;I)Ljava/lang/Iterable; ](Ljava/lang/Iterable;I)Ljava/lang/Iterable;>; paddedPartition filter L(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
unfiltered r(Ljava/lang/Iterable;Lcom/google/common/base/Predicate<-TT;>;)Ljava/lang/Iterable; ;(Ljava/lang/Iterable;Ljava/lang/Class;)Ljava/lang/Iterable; ^(Ljava/lang/Iterable<*>;Ljava/lang/Class;)Ljava/lang/Iterable; Class.isInstance any all find \(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;Ljava/lang/Object;)Ljava/lang/Object; `(Ljava/lang/Iterable<+TT;>;Lcom/google/common/base/Predicate<-TT;>;TT;)TT; tryFind Y(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Optional; (Ljava/lang/Iterable;Lcom/google/common/base/Predicate<-TT;>;)Lcom/google/common/base/Optional; indexOf 9(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)I Z(Ljava/lang/Iterable;Lcom/google/common/base/Predicate<-TT;>;)I transform K(Ljava/lang/Iterable;Lcom/google/common/base/Function;)Ljava/lang/Iterable; fromIterable function !Lcom/google/common/base/Function; Ljava/lang/Iterable; +Lcom/google/common/base/Function<-TF;+TT;>; ?(Ljava/lang/Iterable;Lcom/google/common/base/Function<-TF;+TT;>;)Ljava/lang/Iterable; get )(Ljava/lang/Iterable;I)Ljava/lang/Object; position 5(Ljava/lang/Iterable;I)TT; ;(Ljava/lang/Iterable;ILjava/lang/Object;)Ljava/lang/Object; Ljava/util/List<+TT;>; Ljava/util/Iterator<+TT;>; 9(Ljava/lang/Iterable<+TT;>;ITT;)TT; getFirst getLast getLastInNonemptyList $(Ljava/util/List;)Ljava/lang/Object; 0(Ljava/util/List;)TT; skip numberToSkip K(Ljava/lang/Iterable;I)Ljava/lang/Iterable; limit limitSize consumingIterable isEmpty (Ljava/lang/Iterable;)Z (Ljava/lang/Iterable<*>;)Z mergeSorted @(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/lang/Iterable;
comparator Ljava/util/Comparator; Ljava/util/Comparator<-TT;>; ~(Ljava/lang/Iterable<+Ljava/lang/Iterable<+TT;>;>;Ljava/util/Comparator<-TT;>;)Ljava/lang/Iterable; $Lcom/google/common/annotations/Beta;
toIterator #()Lcom/google/common/base/Function; o()Lcom/google/common/base/Function;Ljava/util/Iterator<+TT;>;>;
access$100 x0
access$200
SourceFile Iterables.java -Lcom/google/common/annotations/GwtCompatible; emulated NO y z??? 8com/google/common/collect/Iterables$UnmodifiableIterable -com/google/common/collect/ImmutableCollection y? java/lang/Iterable java/util/Collection ?? ??? ????? ?? ?? ?? ?? ?? java/util/RandomAccess java/util/List com/google/common/base/Predicate ? ? ??1????? 'java/lang/UnsupportedOperationException ? ???? z????? ??? z ?? ?? ?? ?? ? ???? ?? ?????? ? ?? ?? "com/google/common/collect/Multiset??
java/util/Set ?? ?? %com/google/common/collect/Iterables$1 y??? ? ???? ? ??????? %com/google/common/collect/Iterables$2 %com/google/common/collect/Iterables$3 y? %com/google/common/collect/Iterables$4 y %com/google/common/collect/Iterables$5 %com/google/common/collect/Iterables$6 y %com/google/common/collect/Iterables$7 y?? #& %com/google/common/collect/Iterables$8 y 1
?
?D? java/util/NoSuchElementException;<:?:? !number to skip cannot be negative %com/google/common/collect/Iterables$9 y &com/google/common/collect/Iterables$10 limit is negative &com/google/common/collect/Iterables$11 java/util/Queue &com/google/common/collect/Iterables$12 &com/google/common/collect/Iterables$13? &com/google/common/collect/Iterables$14 y &com/google/common/collect/Iterables$15 #com/google/common/collect/Iterables java/lang/Object java/util/Iterator $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; >(Ljava/lang/Iterable;Lcom/google/common/collect/Iterables$1;)V ()I ()Ljava/util/Iterator; #com/google/common/collect/Iterators (Ljava/util/Iterator;)I &com/google/common/collect/Collections2 safeContains +(Ljava/util/Collection;Ljava/lang/Object;)Z )(Ljava/util/Iterator;Ljava/lang/Object;)Z (Ljava/util/Collection;)Z -(Ljava/util/Iterator;Ljava/util/Collection;)Z 9(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Z (I)Ljava/lang/Object; apply (Ljava/lang/Object;)Z set '(ILjava/lang/Object;)Ljava/lang/Object; subList (II)Ljava/util/List; clear remove hasNext ()Z ()Ljava/lang/Object; +(Ljava/util/Iterator;Ljava/util/Iterator;)Z ((Ljava/util/Iterator;)Ljava/lang/String; ((Ljava/util/Iterator;)Ljava/lang/Object; :(Ljava/util/Iterator;Ljava/lang/Object;)Ljava/lang/Object; &com/google/common/collect/ObjectArrays newArray '(Ljava/lang/Class;I)[Ljava/lang/Object; (([Ljava/lang/Object;)[Ljava/lang/Object; ()[Ljava/lang/Object; com/google/common/collect/Lists newArrayList +(Ljava/util/Iterator;)Ljava/util/ArrayList; cast -(Ljava/util/Collection;Ljava/util/Iterator;)Z count (Ljava/lang/Object;)I )(Ljava/util/Iterator;Ljava/lang/Object;)I (Ljava/lang/Iterable;)V *([Ljava/lang/Object;)Ljava/util/ArrayList; 'com/google/common/collect/ImmutableList of O(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; s(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; copyOf >([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; (Ljava/util/Iterator;)V
checkArgument (Z)V (Ljava/lang/Iterable;I)V 9(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)V ((Ljava/lang/Iterable;Ljava/lang/Class;)V J(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Ljava/lang/Object; \(Ljava/util/Iterator;Lcom/google/common/base/Predicate;Ljava/lang/Object;)Ljava/lang/Object; Y(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Optional; 9(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)I 8(Ljava/lang/Iterable;Lcom/google/common/base/Function;)V )(Ljava/util/Iterator;I)Ljava/lang/Object; checkNonnegative (I)V &(Ljava/lang/Iterable;)Ljava/util/List; advance (Ljava/util/Iterator;I)I getNext (ZLjava/lang/Object;)V (Ljava/util/List;I)V 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; -(Ljava/lang/Iterable;Ljava/util/Comparator;)V 1 t u 6 y z { / *? ? | > } ~ ? ? { q *? W*? ?
*? ? *?? Y*? ? | B C D F } ? ? ? ? ? ? ? ? ? ? { D *? ? ? | Q } ? ? ? ? ? ? ? ? ? ? ? ? { d *? ? *? ?
? *? ? ? | k } ? ? ? ? ? ? H ? ? ? ? { ? *? ? *? M,+?
?*? +? ? | u v w y } ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? { ? %*? ? *? +? ? ? ?
*? +? ? | ? } % ? ? % ? ? ? % ? ? % ? ? ? I ? ? ? ? { ? %*? ? *? +? ? ? ?
*? +? ? | ? } % ? ? % ? ? ? % ? ? % ? ? ? I ? ? ? ? { ? (*? ? *? ? *? +? ? ? ?*? +? ? | ? ? ? } ( ? ? ( ? ? ? ( ? ? ( ? ? ? ? ?
? ? { Q e=>*? ? =*? :+? ? #? *? W? :*+? ??????**? ? ? ? ? ? ' 1 4 | > ? ? ? ? ? " ? ' ? 1 ? 4 ? 6 ? = ? ? ? B ? H ? Z ? } > 6 ? ? + ? ? e ? ? e ? ? c ? ? a ? ? ? + ? ? e ? ? e ? ? ? $ ? ? / ? ? ? ?
? @ ? ?
? ? { ? K*? d6? #+*? ? ? *? W?????d6? *? W????? | " ? ? ! ? * ? 0 ? ; ? D ? J ? } >
&