public class ImmutableHashBag<T> extends AbstractImmutableBag<T> implements Serializable
| Constructor and Description |
|---|
ImmutableHashBag() |
ImmutableHashBag(Bag<? extends T> source) |
ImmutableHashBag(Iterable<? extends T> source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
allSatisfyWithOccurrences(ObjectIntPredicate<? super T> predicate) |
boolean |
anySatisfy(Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfyWithOccurrences(ObjectIntPredicate<? super T> predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
LazyIterable<T> |
asLazy() |
<V> ImmutableBag<V> |
collect(Function<? super T,? extends V> function) |
<V,R extends Collection<V>> |
collect(Function<? super T,? extends V> function,
R target) |
<V> ImmutableBag<V> |
collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V,R extends Collection<V>> |
collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function,
R target) |
boolean |
contains(Object object) |
boolean |
containsAllArguments(Object... elements) |
boolean |
containsAllIterable(Iterable<?> source) |
int |
count(Predicate<? super T> predicate) |
T |
detect(Predicate<? super T> predicate) |
T |
detectIfNone(Predicate<? super T> predicate,
Function0<? extends T> function) |
Optional<T> |
detectOptional(Predicate<? super T> predicate) |
<P> T |
detectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
T |
detectWithOccurrences(ObjectIntPredicate<? super T> predicate) |
<P> Optional<T> |
detectWithOptional(Predicate2<? super T,? super P> predicate,
P parameter) |
RichIterable<T> |
distinctView() |
void |
each(Procedure<? super T> procedure) |
boolean |
equals(Object obj) |
<V> ImmutableBag<V> |
flatCollect(Function<? super T,? extends Iterable<V>> function) |
<V,R extends Collection<V>> |
flatCollect(Function<? super T,? extends Iterable<V>> function,
R target) |
void |
forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure) |
void |
forEachWithOccurrences(ObjectIntProcedure<? super T> objectIntProcedure) |
T |
getFirst() |
T |
getLast() |
T |
getOnly() |
<V> ImmutableBagMultimap<V,T> |
groupBy(Function<? super T,? extends V> function) |
<V,R extends MutableMultimap<V,T>> |
groupBy(Function<? super T,? extends V> function,
R target) |
<V> ImmutableBagMultimap<V,T> |
groupByEach(Function<? super T,? extends Iterable<V>> function) |
<V,R extends MutableMultimap<V,T>> |
groupByEach(Function<? super T,? extends Iterable<V>> function,
R target) |
<V> ImmutableMap<V,T> |
groupByUniqueKey(Function<? super T,? extends V> function) |
int |
hashCode() |
double |
injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super T> function) |
float |
injectInto(float injectedValue,
FloatObjectToFloatFunction<? super T> function) |
int |
injectInto(int injectedValue,
IntObjectToIntFunction<? super T> function) |
<IV> IV |
injectInto(IV injectedValue,
Function2<? super IV,? super T,? extends IV> function) |
long |
injectInto(long injectedValue,
LongObjectToLongFunction<? super T> function) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
T |
max() |
T |
max(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
maxBy(Function<? super T,? extends V> function) |
T |
min() |
T |
min(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
minBy(Function<? super T,? extends V> function) |
static <T> ImmutableHashBag<T> |
newBag() |
static <T> ImmutableHashBag<T> |
newBag(Iterable<? extends T> source) |
static <T> ImmutableHashBag<T> |
newBagWith(Bag<? extends T> bag) |
static <T> ImmutableHashBag<T> |
newBagWith(T... elements) |
ImmutableBag<T> |
newWith(T element) |
ImmutableBag<T> |
newWithAll(Iterable<? extends T> elements) |
ImmutableBag<T> |
newWithout(T element) |
boolean |
noneSatisfy(Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
noneSatisfyWithOccurrences(ObjectIntPredicate<? super T> predicate) |
boolean |
notEmpty() |
int |
occurrencesOf(Object item) |
PartitionImmutableBag<T> |
partition(Predicate<? super T> predicate) |
ImmutableBag<T> |
reject(Predicate<? super T> predicate) |
<R extends Collection<T>> |
reject(Predicate<? super T> predicate,
R target) |
ImmutableBag<T> |
select(Predicate<? super T> predicate) |
<R extends Collection<T>> |
select(Predicate<? super T> predicate,
R target) |
ImmutableBag<T> |
selectByOccurrences(IntPredicate predicate) |
<S> ImmutableBag<S> |
selectInstancesOf(Class<S> clazz) |
int |
size() |
int |
sizeDistinct() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
MutableBag<T> |
toBag() |
MutableList<T> |
toList() |
<K,V> MutableMap<K,V> |
toMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
<K,V,R extends Map<K,V>> |
toMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction,
R target) |
MutableMap<T,Integer> |
toMapOfItemToCount() |
MutableSet<T> |
toSet() |
MutableSortedBag<T> |
toSortedBag() |
MutableSortedBag<T> |
toSortedBag(Comparator<? super T> comparator) |
MutableList<T> |
toSortedList() |
MutableList<T> |
toSortedList(Comparator<? super T> comparator) |
<K,V> MutableSortedMap<K,V> |
toSortedMap(Comparator<? super K> comparator,
Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
<K,V> MutableSortedMap<K,V> |
toSortedMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
MutableSortedSet<T> |
toSortedSet() |
MutableSortedSet<T> |
toSortedSet(Comparator<? super T> comparator) |
String |
toString()
Returns a string with the elements of the iterable separated by commas with spaces and
enclosed in square brackets.
|
<S> ImmutableBag<Pair<T,S>> |
zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
<S,R extends Collection<Pair<T,S>>> |
zip(Iterable<S> that,
R target) |
ImmutableSet<Pair<T,Integer>> |
zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
<R extends Collection<Pair<T,Integer>>> |
zipWithIndex(R target) |
bottomOccurrences, chunk, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, collectWith, collectWithOccurrences, countBy, countByEach, countByWith, newWithoutAll, partitionWith, rejectWith, selectWith, tap, toImmutable, topOccurrencesadd, addAll, castToCollection, clear, parallelStream, remove, removeAll, retainAll, spliterator, stream, sumByDouble, sumByFloat, sumByInt, sumByLongcollectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, collectWith, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, injectIntoWith, rejectWith, selectWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toStringOfItemToCountcontainsAll, countWith, detectWithIfNone, forEach, forEachWith, groupByUniqueKey, into, toBiMap, toSortedBagBy, toSortedListBy, toSortedMapBy, toSortedSetByflatCollectWith, selectDuplicates, selectUnique, toImmutableBagaggregateBy, collectWithOccurrences, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toStringOfItemToCountaggregateBy, aggregateInPlaceBy, castToCollection, parallelStream, spliterator, stream, sumByDouble, sumByFloat, sumByInt, sumByLongcollectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, collectWith, containsAll, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, countBy, countByEach, countByWith, countWith, detectWithIfNone, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, groupByAndCollect, groupByUniqueKey, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, rejectWith, selectWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBiMap, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toSortedBagBy, toSortedListBy, toSortedMapBy, toSortedSetByforEach, forEachWithcontainsAll, removeIfpublic static <T> ImmutableHashBag<T> newBag()
public static <T> ImmutableHashBag<T> newBag(Iterable<? extends T> source)
public static <T> ImmutableHashBag<T> newBagWith(T... elements)
public static <T> ImmutableHashBag<T> newBagWith(Bag<? extends T> bag)
public ImmutableBag<T> newWith(T element)
newWith in interface ImmutableBag<T>newWith in interface ImmutableCollection<T>public ImmutableBag<T> newWithout(T element)
newWithout in interface ImmutableBag<T>newWithout in interface ImmutableCollection<T>public ImmutableBag<T> newWithAll(Iterable<? extends T> elements)
newWithAll in interface ImmutableBag<T>newWithAll in interface ImmutableCollection<T>public int size()
size in interface Collection<T>size in interface RichIterable<T>public <V> ImmutableBagMultimap<V,T> groupBy(Function<? super T,? extends V> function)
groupBy in interface Bag<T>groupBy in interface ImmutableBag<T>groupBy in interface ImmutableBagIterable<T>groupBy in interface UnsortedBag<T>groupBy in interface ImmutableCollection<T>groupBy in interface RichIterable<T>public <V,R extends MutableMultimap<V,T>> R groupBy(Function<? super T,? extends V> function, R target)
groupBy in interface RichIterable<T>groupBy in class AbstractBag<T>public <V> ImmutableBagMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
groupByEach in interface Bag<T>groupByEach in interface ImmutableBag<T>groupByEach in interface ImmutableBagIterable<T>groupByEach in interface UnsortedBag<T>groupByEach in interface ImmutableCollection<T>groupByEach in interface RichIterable<T>public <V,R extends MutableMultimap<V,T>> R groupByEach(Function<? super T,? extends Iterable<V>> function, R target)
groupByEach in interface RichIterable<T>groupByEach in class AbstractBag<T>public <V> ImmutableMap<V,T> groupByUniqueKey(Function<? super T,? extends V> function)
groupByUniqueKey in interface ImmutableCollection<T>groupByUniqueKey in interface RichIterable<T>groupByUniqueKey in class AbstractImmutableBag<T>public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface RichIterable<T>isEmpty in class AbstractRichIterable<T>public boolean notEmpty()
notEmpty in interface RichIterable<T>public T getFirst()
getFirst in interface RichIterable<T>public T getLast()
getLast in interface RichIterable<T>public T getOnly()
getOnly in interface RichIterable<T>public T min(Comparator<? super T> comparator)
min in interface RichIterable<T>min in class AbstractRichIterable<T>public T max(Comparator<? super T> comparator)
max in interface RichIterable<T>max in class AbstractRichIterable<T>public T min()
min in interface RichIterable<T>min in class AbstractRichIterable<T>public T max()
max in interface RichIterable<T>max in class AbstractRichIterable<T>public <V extends Comparable<? super V>> T minBy(Function<? super T,? extends V> function)
minBy in interface RichIterable<T>minBy in class AbstractRichIterable<T>public <V extends Comparable<? super V>> T maxBy(Function<? super T,? extends V> function)
maxBy in interface RichIterable<T>maxBy in class AbstractRichIterable<T>public boolean contains(Object object)
contains in interface Collection<T>contains in interface RichIterable<T>contains in class AbstractRichIterable<T>public boolean containsAllIterable(Iterable<?> source)
containsAllIterable in interface RichIterable<T>containsAllIterable in class AbstractRichIterable<T>public boolean containsAllArguments(Object... elements)
containsAllArguments in interface RichIterable<T>containsAllArguments in class AbstractRichIterable<T>public <K,V> MutableMap<K,V> toMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
toMap in interface RichIterable<T>toMap in class AbstractRichIterable<T>public <K,V,R extends Map<K,V>> R toMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction, R target)
toMap in interface RichIterable<T>public void each(Procedure<? super T> procedure)
each in interface RichIterable<T>public void forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface InternalIterable<T>forEachWithIndex in class AbstractRichIterable<T>public <S> ImmutableBag<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface Bag<T>selectInstancesOf in interface ImmutableBag<T>selectInstancesOf in interface ImmutableBagIterable<T>selectInstancesOf in interface UnsortedBag<T>selectInstancesOf in interface ImmutableCollection<T>selectInstancesOf in interface RichIterable<T>public ImmutableBag<T> selectByOccurrences(IntPredicate predicate)
selectByOccurrences in interface Bag<T>selectByOccurrences in interface ImmutableBag<T>selectByOccurrences in interface ImmutableBagIterable<T>selectByOccurrences in interface UnsortedBag<T>public boolean anySatisfyWithOccurrences(ObjectIntPredicate<? super T> predicate)
anySatisfyWithOccurrences in interface Bag<T>public boolean allSatisfyWithOccurrences(ObjectIntPredicate<? super T> predicate)
allSatisfyWithOccurrences in interface Bag<T>public boolean noneSatisfyWithOccurrences(ObjectIntPredicate<? super T> predicate)
noneSatisfyWithOccurrences in interface Bag<T>public T detectWithOccurrences(ObjectIntPredicate<? super T> predicate)
detectWithOccurrences in interface Bag<T>public void forEachWithOccurrences(ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithOccurrences in interface Bag<T>public int sizeDistinct()
sizeDistinct in interface Bag<T>public int occurrencesOf(Object item)
occurrencesOf in interface Bag<T>public MutableList<T> toList()
toList in interface RichIterable<T>toList in class AbstractBag<T>public MutableList<T> toSortedList()
toSortedList in interface RichIterable<T>public MutableList<T> toSortedList(Comparator<? super T> comparator)
toSortedList in interface RichIterable<T>toSortedList in class AbstractBag<T>public MutableSortedSet<T> toSortedSet()
toSortedSet in interface RichIterable<T>toSortedSet in class AbstractBag<T>public MutableSortedSet<T> toSortedSet(Comparator<? super T> comparator)
toSortedSet in interface RichIterable<T>toSortedSet in class AbstractBag<T>public <K,V> MutableSortedMap<K,V> toSortedMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
toSortedMap in interface RichIterable<T>toSortedMap in class AbstractRichIterable<T>public <K,V> MutableSortedMap<K,V> toSortedMap(Comparator<? super K> comparator, Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
toSortedMap in interface RichIterable<T>toSortedMap in class AbstractRichIterable<T>public ImmutableBag<T> select(Predicate<? super T> predicate)
select in interface Bag<T>select in interface ImmutableBag<T>select in interface ImmutableBagIterable<T>select in interface UnsortedBag<T>select in interface ImmutableCollection<T>select in interface RichIterable<T>public <R extends Collection<T>> R select(Predicate<? super T> predicate, R target)
select in interface RichIterable<T>select in class AbstractBag<T>public ImmutableBag<T> reject(Predicate<? super T> predicate)
reject in interface Bag<T>reject in interface ImmutableBag<T>reject in interface ImmutableBagIterable<T>reject in interface UnsortedBag<T>reject in interface ImmutableCollection<T>reject in interface RichIterable<T>public <R extends Collection<T>> R reject(Predicate<? super T> predicate, R target)
reject in interface RichIterable<T>reject in class AbstractBag<T>public PartitionImmutableBag<T> partition(Predicate<? super T> predicate)
partition in interface Bag<T>partition in interface ImmutableBag<T>partition in interface ImmutableBagIterable<T>partition in interface UnsortedBag<T>partition in interface ImmutableCollection<T>partition in interface RichIterable<T>partition in class AbstractImmutableBag<T>public <V> ImmutableBag<V> collect(Function<? super T,? extends V> function)
collect in interface ImmutableBag<T>collect in interface UnsortedBag<T>collect in interface ImmutableCollection<T>collect in interface RichIterable<T>public <V,R extends Collection<V>> R collect(Function<? super T,? extends V> function, R target)
collect in interface RichIterable<T>collect in class AbstractBag<T>public <V> ImmutableBag<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
collectIf in interface ImmutableBag<T>collectIf in interface UnsortedBag<T>collectIf in interface ImmutableCollection<T>collectIf in interface RichIterable<T>public <V,R extends Collection<V>> R collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function, R target)
collectIf in interface RichIterable<T>collectIf in class AbstractBag<T>public <V> ImmutableBag<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect in interface ImmutableBag<T>flatCollect in interface UnsortedBag<T>flatCollect in interface ImmutableCollection<T>flatCollect in interface RichIterable<T>public <V,R extends Collection<V>> R flatCollect(Function<? super T,? extends Iterable<V>> function, R target)
flatCollect in interface RichIterable<T>flatCollect in class AbstractBag<T>public T detect(Predicate<? super T> predicate)
detect in interface RichIterable<T>detect in class AbstractRichIterable<T>public <P> T detectWith(Predicate2<? super T,? super P> predicate, P parameter)
detectWith in interface RichIterable<T>detectWith in class AbstractRichIterable<T>public Optional<T> detectOptional(Predicate<? super T> predicate)
detectOptional in interface RichIterable<T>detectOptional in class AbstractRichIterable<T>public <P> Optional<T> detectWithOptional(Predicate2<? super T,? super P> predicate, P parameter)
detectWithOptional in interface RichIterable<T>detectWithOptional in class AbstractRichIterable<T>public T detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
detectIfNone in interface RichIterable<T>public int count(Predicate<? super T> predicate)
count in interface RichIterable<T>count in class AbstractBag<T>public boolean anySatisfy(Predicate<? super T> predicate)
anySatisfy in interface RichIterable<T>anySatisfy in class AbstractRichIterable<T>public <P> boolean anySatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface RichIterable<T>anySatisfyWith in class AbstractRichIterable<T>public boolean allSatisfy(Predicate<? super T> predicate)
allSatisfy in interface RichIterable<T>allSatisfy in class AbstractRichIterable<T>public <P> boolean allSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface RichIterable<T>allSatisfyWith in class AbstractRichIterable<T>public boolean noneSatisfy(Predicate<? super T> predicate)
noneSatisfy in interface RichIterable<T>noneSatisfy in class AbstractRichIterable<T>public <P> boolean noneSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface RichIterable<T>noneSatisfyWith in class AbstractRichIterable<T>public <IV> IV injectInto(IV injectedValue,
Function2<? super IV,? super T,? extends IV> function)
injectInto in interface RichIterable<T>injectInto in class AbstractBag<T>public int injectInto(int injectedValue,
IntObjectToIntFunction<? super T> function)
injectInto in interface RichIterable<T>injectInto in class AbstractBag<T>public long injectInto(long injectedValue,
LongObjectToLongFunction<? super T> function)
injectInto in interface RichIterable<T>injectInto in class AbstractBag<T>public double injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super T> function)
injectInto in interface RichIterable<T>injectInto in class AbstractBag<T>public float injectInto(float injectedValue,
FloatObjectToFloatFunction<? super T> function)
injectInto in interface RichIterable<T>injectInto in class AbstractBag<T>public boolean equals(Object obj)
public int hashCode()
public MutableMap<T,Integer> toMapOfItemToCount()
toMapOfItemToCount in interface Bag<T>toMapOfItemToCount in interface ImmutableBagIterable<T>public MutableSet<T> toSet()
toSet in interface RichIterable<T>toSet in class AbstractBag<T>public MutableBag<T> toBag()
toBag in interface RichIterable<T>toBag in class AbstractBag<T>public MutableSortedBag<T> toSortedBag()
toSortedBag in interface RichIterable<T>toSortedBag in class AbstractBag<T>public MutableSortedBag<T> toSortedBag(Comparator<? super T> comparator)
toSortedBag in interface RichIterable<T>toSortedBag in class AbstractBag<T>public LazyIterable<T> asLazy()
asLazy in interface RichIterable<T>asLazy in class AbstractRichIterable<T>public Object[] toArray()
toArray in interface Collection<T>toArray in interface RichIterable<T>toArray in class AbstractRichIterable<T>public <T> T[] toArray(T[] a)
toArray in interface Collection<T>toArray in interface RichIterable<T>toArray in class AbstractRichIterable<T>public String toString()
AbstractRichIterable
Assert.assertEquals("[]", Lists.mutable.empty().toString());
Assert.assertEquals("[1]", Lists.mutable.with(1).toString());
Assert.assertEquals("[1, 2, 3]", Lists.mutable.with(1, 2, 3).toString());
toString in interface RichIterable<T>toString in class AbstractRichIterable<T>AbstractCollection.toString()public String makeString()
makeString in interface RichIterable<T>public String makeString(String separator)
makeString in interface RichIterable<T>public String makeString(String start, String separator, String end)
makeString in interface RichIterable<T>public void appendString(Appendable appendable)
appendString in interface RichIterable<T>public void appendString(Appendable appendable, String separator)
appendString in interface RichIterable<T>appendString in class AbstractRichIterable<T>public void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface RichIterable<T>appendString in class AbstractRichIterable<T>@Deprecated public <S> ImmutableBag<Pair<T,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable) instead.zip in interface ImmutableBag<T>zip in interface UnsortedBag<T>zip in interface ImmutableCollection<T>zip in interface RichIterable<T>public <S,R extends Collection<Pair<T,S>>> R zip(Iterable<S> that, R target)
zip in interface RichIterable<T>zip in class AbstractRichIterable<T>@Deprecated public ImmutableSet<Pair<T,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex() instead.zipWithIndex in interface Bag<T>zipWithIndex in interface ImmutableBag<T>zipWithIndex in interface ImmutableBagIterable<T>zipWithIndex in interface UnsortedBag<T>zipWithIndex in interface ImmutableCollection<T>zipWithIndex in interface RichIterable<T>public <R extends Collection<Pair<T,Integer>>> R zipWithIndex(R target)
zipWithIndex in interface RichIterable<T>zipWithIndex in class AbstractRichIterable<T>public RichIterable<T> distinctView()
distinctView in interface Bag<T>Copyright © 2004–2022. All rights reserved.