Class UnmodifiableFloatObjectMap<V>
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableFloatObjectMap<V>
-
- All Implemented Interfaces:
Serializable,Iterable<V>,InternalIterable<V>,FloatObjectMap<V>,MutableFloatObjectMap<V>,MutablePrimitiveObjectMap<V>,PrimitiveObjectMap<V>,RichIterable<V>
public class UnmodifiableFloatObjectMap<V> extends Object implements MutableFloatObjectMap<V>, Serializable
This file was automatically generated from template file unmodifiablePrimitiveObjectMap.stg.- Since:
- 3.2.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableFloatObjectMap(MutableFloatObjectMap<V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <K,VV>
MutableMap<K,VV>aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)<K,VV>
MutableMap<K,VV>aggregateInPlaceBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)booleanallSatisfy(Predicate<? super V> predicate)<P> booleanallSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)booleananySatisfy(Predicate<? super V> predicate)<P> booleananySatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)voidappendString(Appendable appendable)voidappendString(Appendable appendable, String separator)voidappendString(Appendable appendable, String start, String separator, String end)LazyIterable<V>asLazy()MutableFloatObjectMap<V>asSynchronized()MutableFloatObjectMap<V>asUnmodifiable()RichIterable<RichIterable<V>>chunk(int size)voidclear()<VV> MutableBag<VV>collect(Function<? super V,? extends VV> function)<VV,R extends Collection<VV>>
Rcollect(Function<? super V,? extends VV> function, R target)MutableBooleanBagcollectBoolean(BooleanFunction<? super V> booleanFunction)<R extends MutableBooleanCollection>
RcollectBoolean(BooleanFunction<? super V> booleanFunction, R target)MutableByteBagcollectByte(ByteFunction<? super V> byteFunction)<R extends MutableByteCollection>
RcollectByte(ByteFunction<? super V> byteFunction, R target)MutableCharBagcollectChar(CharFunction<? super V> charFunction)<R extends MutableCharCollection>
RcollectChar(CharFunction<? super V> charFunction, R target)MutableDoubleBagcollectDouble(DoubleFunction<? super V> doubleFunction)<R extends MutableDoubleCollection>
RcollectDouble(DoubleFunction<? super V> doubleFunction, R target)MutableFloatBagcollectFloat(FloatFunction<? super V> floatFunction)<R extends MutableFloatCollection>
RcollectFloat(FloatFunction<? super V> floatFunction, R target)<VV> MutableBag<VV>collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function)<VV,R extends Collection<VV>>
RcollectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function, R target)MutableIntBagcollectInt(IntFunction<? super V> intFunction)<R extends MutableIntCollection>
RcollectInt(IntFunction<? super V> intFunction, R target)MutableLongBagcollectLong(LongFunction<? super V> longFunction)<R extends MutableLongCollection>
RcollectLong(LongFunction<? super V> longFunction, R target)MutableShortBagcollectShort(ShortFunction<? super V> shortFunction)<R extends MutableShortCollection>
RcollectShort(ShortFunction<? super V> shortFunction, R target)<P,VV>
MutableBag<VV>collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)<P,VV,R extends Collection<VV>>
RcollectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)booleancontains(Object object)booleancontainsAll(Collection<?> source)booleancontainsAllArguments(Object... elements)booleancontainsAllIterable(Iterable<?> source)booleancontainsKey(float key)booleancontainsValue(Object value)intcount(Predicate<? super V> predicate)<P> intcountWith(Predicate2<? super V,? super P> predicate, P parameter)Vdetect(Predicate<? super V> predicate)VdetectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)Optional<V>detectOptional(Predicate<? super V> predicate)<P> VdetectWith(Predicate2<? super V,? super P> predicate, P parameter)<P> VdetectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)<P> Optional<V>detectWithOptional(Predicate2<? super V,? super P> predicate, P parameter)voideach(Procedure<? super V> procedure)booleanequals(Object obj)<VV> MutableBag<VV>flatCollect(Function<? super V,? extends Iterable<VV>> function)<VV,R extends Collection<VV>>
RflatCollect(Function<? super V,? extends Iterable<VV>> function, R target)MutableObjectFloatMap<V>flipUniqueValues()voidforEach(Procedure<? super V> procedure)voidforEachKey(FloatProcedure procedure)voidforEachKeyValue(FloatObjectProcedure<? super V> procedure)voidforEachValue(Procedure<? super V> procedure)<P> voidforEachWith(Procedure2<? super V,? super P> procedure, P parameter)voidforEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure)Vget(float key)VgetFirst()VgetIfAbsent(float key, Function0<? extends V> ifAbsent)VgetIfAbsentPut(float key, Function0<? extends V> function)VgetIfAbsentPut(float key, V value)<P> VgetIfAbsentPutWith(float key, Function<? super P,? extends V> function, P parameter)VgetIfAbsentPutWithKey(float key, FloatToObjectFunction<? extends V> function)VgetLast()VgetOnly()<VV> MutableBagMultimap<VV,V>groupBy(Function<? super V,? extends VV> function)<VV,R extends MutableMultimap<VV,V>>
RgroupBy(Function<? super V,? extends VV> function, R target)<VV> MutableBagMultimap<VV,V>groupByEach(Function<? super V,? extends Iterable<VV>> function)<VV,R extends MutableMultimap<VV,V>>
RgroupByEach(Function<? super V,? extends Iterable<VV>> function, R target)<V1> MutableMap<V1,V>groupByUniqueKey(Function<? super V,? extends V1> function)<V1,R extends MutableMapIterable<V1,V>>
RgroupByUniqueKey(Function<? super V,? extends V1> function, R target)inthashCode()doubleinjectInto(double injectedValue, DoubleObjectToDoubleFunction<? super V> function)floatinjectInto(float injectedValue, FloatObjectToFloatFunction<? super V> function)intinjectInto(int injectedValue, IntObjectToIntFunction<? super V> function)longinjectInto(long injectedValue, LongObjectToLongFunction<? super V> function)<IV> IVinjectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)<R extends Collection<V>>
Rinto(R target)booleanisEmpty()Iterator<V>iterator()MutableFloatSetkeySet()LazyFloatIterablekeysView()RichIterable<FloatObjectPair<V>>keyValuesView()StringmakeString()StringmakeString(String separator)StringmakeString(String start, String separator, String end)Vmax()Vmax(Comparator<? super V> comparator)<VV extends Comparable<? super VV>>
VmaxBy(Function<? super V,? extends VV> function)Vmin()Vmin(Comparator<? super V> comparator)<VV extends Comparable<? super VV>>
VminBy(Function<? super V,? extends VV> function)booleannoneSatisfy(Predicate<? super V> predicate)<P> booleannoneSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)booleannotEmpty()PartitionMutableBag<V>partition(Predicate<? super V> predicate)<P> PartitionMutableBag<V>partitionWith(Predicate2<? super V,? super P> predicate, P parameter)Vput(float key, V value)voidputAll(FloatObjectMap<? extends V> map)VputPair(FloatObjectPair<V> keyValuePair)MutableBag<V>reject(Predicate<? super V> predicate)<R extends Collection<V>>
Rreject(Predicate<? super V> predicate, R target)MutableFloatObjectMap<V>reject(FloatObjectPredicate<? super V> predicate)<P> MutableBag<V>rejectWith(Predicate2<? super V,? super P> predicate, P parameter)<P,R extends Collection<V>>
RrejectWith(Predicate2<? super V,? super P> predicate, P parameter, R targetCollection)Vremove(float key)booleanremoveIf(FloatObjectPredicate<? super V> predicate)VremoveKey(float key)MutableBag<V>select(Predicate<? super V> predicate)<R extends Collection<V>>
Rselect(Predicate<? super V> predicate, R target)MutableFloatObjectMap<V>select(FloatObjectPredicate<? super V> predicate)<S> MutableBag<S>selectInstancesOf(Class<S> clazz)<P> MutableBag<V>selectWith(Predicate2<? super V,? super P> predicate, P parameter)<P,R extends Collection<V>>
RselectWith(Predicate2<? super V,? super P> predicate, P parameter, R targetCollection)intsize()<V1> MutableObjectDoubleMap<V1>sumByDouble(Function<? super V,? extends V1> groupBy, DoubleFunction<? super V> function)<V1> MutableObjectDoubleMap<V1>sumByFloat(Function<? super V,? extends V1> groupBy, FloatFunction<? super V> function)<V1> MutableObjectLongMap<V1>sumByInt(Function<? super V,? extends V1> groupBy, IntFunction<? super V> function)<V1> MutableObjectLongMap<V1>sumByLong(Function<? super V,? extends V1> groupBy, LongFunction<? super V> function)doublesumOfDouble(DoubleFunction<? super V> function)doublesumOfFloat(FloatFunction<? super V> function)longsumOfInt(IntFunction<? super V> function)longsumOfLong(LongFunction<? super V> function)MutableFloatObjectMap<V>tap(Procedure<? super V> procedure)Object[]toArray()<T> T[]toArray(T[] a)MutableBag<V>toBag()<NK,NV>
MutableBiMap<NK,NV>toBiMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)ImmutableFloatObjectMap<V>toImmutable()MutableList<V>toList()<NK,NV>
MutableMap<NK,NV>toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)MutableSet<V>toSet()MutableSortedBag<V>toSortedBag()MutableSortedBag<V>toSortedBag(Comparator<? super V> comparator)<VV extends Comparable<? super VV>>
MutableSortedBag<V>toSortedBagBy(Function<? super V,? extends VV> function)MutableList<V>toSortedList()MutableList<V>toSortedList(Comparator<? super V> comparator)<VV extends Comparable<? super VV>>
MutableList<V>toSortedListBy(Function<? super V,? extends VV> function)<NK,NV>
MutableSortedMap<NK,NV>toSortedMap(Comparator<? super NK> comparator, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)<NK,NV>
MutableSortedMap<NK,NV>toSortedMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)<KK extends Comparable<? super KK>,NK,NV>
MutableSortedMap<NK,NV>toSortedMapBy(Function<? super NK,KK> sortBy, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)MutableSortedSet<V>toSortedSet()MutableSortedSet<V>toSortedSet(Comparator<? super V> comparator)<VV extends Comparable<? super VV>>
MutableSortedSet<V>toSortedSetBy(Function<? super V,? extends VV> function)StringtoString()VupdateValue(float key, Function0<? extends V> factory, Function<? super V,? extends V> function)<P> VupdateValueWith(float key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)Collection<V>values()MutableFloatObjectMap<V>withKeyValue(float key, V value)MutableFloatObjectMap<V>withoutAllKeys(FloatIterable keys)MutableFloatObjectMap<V>withoutKey(float key)<S> MutableBag<Pair<V,S>>zip(Iterable<S> that)Deprecated.in 7.0.<S,R extends Collection<Pair<V,S>>>
Rzip(Iterable<S> that, R target)MutableSet<Pair<V,Integer>>zipWithIndex()Deprecated.in 7.0.<R extends Collection<Pair<V,Integer>>>
RzipWithIndex(R target)-
Methods inherited from interface org.eclipse.collections.api.map.primitive.FloatObjectMap
injectIntoKeyValue
-
Methods inherited from interface org.eclipse.collections.api.InternalIterable
forEach
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableFloatObjectMap
withAllKeyValues
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutablePrimitiveObjectMap
flatCollectWith, reduceBy
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.PrimitiveObjectMap
parallelStream, spliterator, stream
-
Methods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, countBy, countBy, countByEach, countByEach, countByWith, countByWith, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceBy, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toMap
-
-
-
-
Constructor Detail
-
UnmodifiableFloatObjectMap
public UnmodifiableFloatObjectMap(MutableFloatObjectMap<V> map)
-
-
Method Detail
-
put
public V put(float key, V value)
- Specified by:
putin interfaceMutableFloatObjectMap<V>
-
putPair
public V putPair(FloatObjectPair<V> keyValuePair)
- Specified by:
putPairin interfaceMutableFloatObjectMap<V>
-
putAll
public void putAll(FloatObjectMap<? extends V> map)
- Specified by:
putAllin interfaceMutableFloatObjectMap<V>
-
removeKey
public V removeKey(float key)
- Specified by:
removeKeyin interfaceMutableFloatObjectMap<V>
-
remove
public V remove(float key)
- Specified by:
removein interfaceMutableFloatObjectMap<V>
-
getIfAbsentPut
public V getIfAbsentPut(float key, Function0<? extends V> function)
- Specified by:
getIfAbsentPutin interfaceMutableFloatObjectMap<V>
-
getIfAbsentPut
public V getIfAbsentPut(float key, V value)
- Specified by:
getIfAbsentPutin interfaceMutableFloatObjectMap<V>
-
getIfAbsentPutWithKey
public V getIfAbsentPutWithKey(float key, FloatToObjectFunction<? extends V> function)
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableFloatObjectMap<V>
-
getIfAbsentPutWith
public <P> V getIfAbsentPutWith(float key, Function<? super P,? extends V> function, P parameter)
- Specified by:
getIfAbsentPutWithin interfaceMutableFloatObjectMap<V>
-
updateValue
public V updateValue(float key, Function0<? extends V> factory, Function<? super V,? extends V> function)
- Specified by:
updateValuein interfaceMutableFloatObjectMap<V>
-
updateValueWith
public <P> V updateValueWith(float key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
- Specified by:
updateValueWithin interfaceMutableFloatObjectMap<V>
-
removeIf
public boolean removeIf(FloatObjectPredicate<? super V> predicate)
- Specified by:
removeIfin interfaceMutableFloatObjectMap<V>
-
get
public V get(float key)
- Specified by:
getin interfaceFloatObjectMap<V>
-
getIfAbsent
public V getIfAbsent(float key, Function0<? extends V> ifAbsent)
- Specified by:
getIfAbsentin interfaceFloatObjectMap<V>
-
containsKey
public boolean containsKey(float key)
- Specified by:
containsKeyin interfaceFloatObjectMap<V>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfacePrimitiveObjectMap<V>
-
tap
public MutableFloatObjectMap<V> tap(Procedure<? super V> procedure)
- Specified by:
tapin interfaceFloatObjectMap<V>- Specified by:
tapin interfaceMutableFloatObjectMap<V>- Specified by:
tapin interfaceRichIterable<V>
-
forEachValue
public void forEachValue(Procedure<? super V> procedure)
- Specified by:
forEachValuein interfacePrimitiveObjectMap<V>
-
forEachKey
public void forEachKey(FloatProcedure procedure)
- Specified by:
forEachKeyin interfaceFloatObjectMap<V>
-
forEachKeyValue
public void forEachKeyValue(FloatObjectProcedure<? super V> procedure)
- Specified by:
forEachKeyValuein interfaceFloatObjectMap<V>
-
select
public MutableFloatObjectMap<V> select(FloatObjectPredicate<? super V> predicate)
- Specified by:
selectin interfaceFloatObjectMap<V>- Specified by:
selectin interfaceMutableFloatObjectMap<V>
-
reject
public MutableFloatObjectMap<V> reject(FloatObjectPredicate<? super V> predicate)
- Specified by:
rejectin interfaceFloatObjectMap<V>- Specified by:
rejectin interfaceMutableFloatObjectMap<V>
-
size
public int size()
- Specified by:
sizein interfaceRichIterable<V>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceRichIterable<V>
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmptyin interfaceRichIterable<V>
-
getFirst
public V getFirst()
- Specified by:
getFirstin interfaceRichIterable<V>
-
getLast
public V getLast()
- Specified by:
getLastin interfaceRichIterable<V>
-
getOnly
public V getOnly()
- Specified by:
getOnlyin interfaceRichIterable<V>
-
contains
public boolean contains(Object object)
- Specified by:
containsin interfaceRichIterable<V>
-
containsAllIterable
public boolean containsAllIterable(Iterable<?> source)
- Specified by:
containsAllIterablein interfaceRichIterable<V>
-
containsAll
public boolean containsAll(Collection<?> source)
- Specified by:
containsAllin interfaceRichIterable<V>
-
containsAllArguments
public boolean containsAllArguments(Object... elements)
- Specified by:
containsAllArgumentsin interfaceRichIterable<V>
-
select
public MutableBag<V> select(Predicate<? super V> predicate)
- Specified by:
selectin interfaceMutablePrimitiveObjectMap<V>- Specified by:
selectin interfacePrimitiveObjectMap<V>- Specified by:
selectin interfaceRichIterable<V>
-
select
public <R extends Collection<V>> R select(Predicate<? super V> predicate, R target)
- Specified by:
selectin interfaceRichIterable<V>
-
selectWith
public <P> MutableBag<V> selectWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
selectWithin interfaceMutablePrimitiveObjectMap<V>- Specified by:
selectWithin interfacePrimitiveObjectMap<V>- Specified by:
selectWithin interfaceRichIterable<V>
-
selectWith
public <P,R extends Collection<V>> R selectWith(Predicate2<? super V,? super P> predicate, P parameter, R targetCollection)
- Specified by:
selectWithin interfaceRichIterable<V>
-
partition
public PartitionMutableBag<V> partition(Predicate<? super V> predicate)
- Specified by:
partitionin interfaceMutablePrimitiveObjectMap<V>- Specified by:
partitionin interfacePrimitiveObjectMap<V>- Specified by:
partitionin interfaceRichIterable<V>
-
partitionWith
public <P> PartitionMutableBag<V> partitionWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
partitionWithin interfaceMutablePrimitiveObjectMap<V>- Specified by:
partitionWithin interfacePrimitiveObjectMap<V>- Specified by:
partitionWithin interfaceRichIterable<V>
-
selectInstancesOf
public <S> MutableBag<S> selectInstancesOf(Class<S> clazz)
- Specified by:
selectInstancesOfin interfaceMutablePrimitiveObjectMap<V>- Specified by:
selectInstancesOfin interfacePrimitiveObjectMap<V>- Specified by:
selectInstancesOfin interfaceRichIterable<V>
-
zipWithIndex
@Deprecated public MutableSet<Pair<V,Integer>> zipWithIndex()
Deprecated.in 7.0. UseOrderedIterable.zipWithIndex()instead.- Specified by:
zipWithIndexin interfaceMutablePrimitiveObjectMap<V>- Specified by:
zipWithIndexin interfacePrimitiveObjectMap<V>- Specified by:
zipWithIndexin interfaceRichIterable<V>
-
zipWithIndex
public <R extends Collection<Pair<V,Integer>>> R zipWithIndex(R target)
- Specified by:
zipWithIndexin interfaceRichIterable<V>
-
chunk
public RichIterable<RichIterable<V>> chunk(int size)
- Specified by:
chunkin interfaceRichIterable<V>
-
aggregateInPlaceBy
public <K,VV> MutableMap<K,VV> aggregateInPlaceBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
- Specified by:
aggregateInPlaceByin interfaceMutablePrimitiveObjectMap<V>- Specified by:
aggregateInPlaceByin interfaceRichIterable<V>
-
aggregateBy
public <K,VV> MutableMap<K,VV> aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
- Specified by:
aggregateByin interfaceMutablePrimitiveObjectMap<V>- Specified by:
aggregateByin interfaceRichIterable<V>
-
reject
public MutableBag<V> reject(Predicate<? super V> predicate)
- Specified by:
rejectin interfaceMutablePrimitiveObjectMap<V>- Specified by:
rejectin interfacePrimitiveObjectMap<V>- Specified by:
rejectin interfaceRichIterable<V>
-
reject
public <R extends Collection<V>> R reject(Predicate<? super V> predicate, R target)
- Specified by:
rejectin interfaceRichIterable<V>
-
rejectWith
public <P> MutableBag<V> rejectWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
rejectWithin interfaceMutablePrimitiveObjectMap<V>- Specified by:
rejectWithin interfacePrimitiveObjectMap<V>- Specified by:
rejectWithin interfaceRichIterable<V>
-
rejectWith
public <P,R extends Collection<V>> R rejectWith(Predicate2<? super V,? super P> predicate, P parameter, R targetCollection)
- Specified by:
rejectWithin interfaceRichIterable<V>
-
clear
public void clear()
- Specified by:
clearin interfaceMutablePrimitiveObjectMap<V>
-
collect
public <VV> MutableBag<VV> collect(Function<? super V,? extends VV> function)
- Specified by:
collectin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectin interfacePrimitiveObjectMap<V>- Specified by:
collectin interfaceRichIterable<V>
-
collectBoolean
public MutableBooleanBag collectBoolean(BooleanFunction<? super V> booleanFunction)
- Specified by:
collectBooleanin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectBooleanin interfacePrimitiveObjectMap<V>- Specified by:
collectBooleanin interfaceRichIterable<V>
-
collectBoolean
public <R extends MutableBooleanCollection> R collectBoolean(BooleanFunction<? super V> booleanFunction, R target)
- Specified by:
collectBooleanin interfaceRichIterable<V>
-
collectByte
public MutableByteBag collectByte(ByteFunction<? super V> byteFunction)
- Specified by:
collectBytein interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectBytein interfacePrimitiveObjectMap<V>- Specified by:
collectBytein interfaceRichIterable<V>
-
collectByte
public <R extends MutableByteCollection> R collectByte(ByteFunction<? super V> byteFunction, R target)
- Specified by:
collectBytein interfaceRichIterable<V>
-
collectChar
public MutableCharBag collectChar(CharFunction<? super V> charFunction)
- Specified by:
collectCharin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectCharin interfacePrimitiveObjectMap<V>- Specified by:
collectCharin interfaceRichIterable<V>
-
collectChar
public <R extends MutableCharCollection> R collectChar(CharFunction<? super V> charFunction, R target)
- Specified by:
collectCharin interfaceRichIterable<V>
-
collectDouble
public MutableDoubleBag collectDouble(DoubleFunction<? super V> doubleFunction)
- Specified by:
collectDoublein interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectDoublein interfacePrimitiveObjectMap<V>- Specified by:
collectDoublein interfaceRichIterable<V>
-
collectDouble
public <R extends MutableDoubleCollection> R collectDouble(DoubleFunction<? super V> doubleFunction, R target)
- Specified by:
collectDoublein interfaceRichIterable<V>
-
collectFloat
public MutableFloatBag collectFloat(FloatFunction<? super V> floatFunction)
- Specified by:
collectFloatin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectFloatin interfacePrimitiveObjectMap<V>- Specified by:
collectFloatin interfaceRichIterable<V>
-
collectFloat
public <R extends MutableFloatCollection> R collectFloat(FloatFunction<? super V> floatFunction, R target)
- Specified by:
collectFloatin interfaceRichIterable<V>
-
collectInt
public MutableIntBag collectInt(IntFunction<? super V> intFunction)
- Specified by:
collectIntin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectIntin interfacePrimitiveObjectMap<V>- Specified by:
collectIntin interfaceRichIterable<V>
-
collectInt
public <R extends MutableIntCollection> R collectInt(IntFunction<? super V> intFunction, R target)
- Specified by:
collectIntin interfaceRichIterable<V>
-
collectLong
public MutableLongBag collectLong(LongFunction<? super V> longFunction)
- Specified by:
collectLongin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectLongin interfacePrimitiveObjectMap<V>- Specified by:
collectLongin interfaceRichIterable<V>
-
collectLong
public <R extends MutableLongCollection> R collectLong(LongFunction<? super V> longFunction, R target)
- Specified by:
collectLongin interfaceRichIterable<V>
-
collectShort
public MutableShortBag collectShort(ShortFunction<? super V> shortFunction)
- Specified by:
collectShortin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectShortin interfacePrimitiveObjectMap<V>- Specified by:
collectShortin interfaceRichIterable<V>
-
collectShort
public <R extends MutableShortCollection> R collectShort(ShortFunction<? super V> shortFunction, R target)
- Specified by:
collectShortin interfaceRichIterable<V>
-
collectWith
public <P,VV> MutableBag<VV> collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
- Specified by:
collectWithin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectWithin interfacePrimitiveObjectMap<V>- Specified by:
collectWithin interfaceRichIterable<V>
-
collectWith
public <P,VV,R extends Collection<VV>> R collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
- Specified by:
collectWithin interfaceRichIterable<V>
-
collect
public <VV,R extends Collection<VV>> R collect(Function<? super V,? extends VV> function, R target)
- Specified by:
collectin interfaceRichIterable<V>
-
collectIf
public <VV> MutableBag<VV> collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function)
- Specified by:
collectIfin interfaceMutablePrimitiveObjectMap<V>- Specified by:
collectIfin interfacePrimitiveObjectMap<V>- Specified by:
collectIfin interfaceRichIterable<V>
-
collectIf
public <VV,R extends Collection<VV>> R collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function, R target)
- Specified by:
collectIfin interfaceRichIterable<V>
-
flatCollect
public <VV> MutableBag<VV> flatCollect(Function<? super V,? extends Iterable<VV>> function)
- Specified by:
flatCollectin interfaceMutablePrimitiveObjectMap<V>- Specified by:
flatCollectin interfacePrimitiveObjectMap<V>- Specified by:
flatCollectin interfaceRichIterable<V>
-
flatCollect
public <VV,R extends Collection<VV>> R flatCollect(Function<? super V,? extends Iterable<VV>> function, R target)
- Specified by:
flatCollectin interfaceRichIterable<V>
-
detect
public V detect(Predicate<? super V> predicate)
- Specified by:
detectin interfaceRichIterable<V>
-
detectWith
public <P> V detectWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
detectWithin interfaceRichIterable<V>
-
detectOptional
public Optional<V> detectOptional(Predicate<? super V> predicate)
- Specified by:
detectOptionalin interfaceRichIterable<V>
-
detectWithOptional
public <P> Optional<V> detectWithOptional(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
detectWithOptionalin interfaceRichIterable<V>
-
detectIfNone
public V detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
- Specified by:
detectIfNonein interfaceRichIterable<V>
-
detectWithIfNone
public <P> V detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
- Specified by:
detectWithIfNonein interfaceRichIterable<V>
-
count
public int count(Predicate<? super V> predicate)
- Specified by:
countin interfaceRichIterable<V>
-
countWith
public <P> int countWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
countWithin interfaceRichIterable<V>
-
anySatisfy
public boolean anySatisfy(Predicate<? super V> predicate)
- Specified by:
anySatisfyin interfaceRichIterable<V>
-
anySatisfyWith
public <P> boolean anySatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
anySatisfyWithin interfaceRichIterable<V>
-
allSatisfy
public boolean allSatisfy(Predicate<? super V> predicate)
- Specified by:
allSatisfyin interfaceRichIterable<V>
-
allSatisfyWith
public <P> boolean allSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
allSatisfyWithin interfaceRichIterable<V>
-
noneSatisfy
public boolean noneSatisfy(Predicate<? super V> predicate)
- Specified by:
noneSatisfyin interfaceRichIterable<V>
-
noneSatisfyWith
public <P> boolean noneSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
noneSatisfyWithin interfaceRichIterable<V>
-
injectInto
public <IV> IV injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)- Specified by:
injectIntoin interfaceRichIterable<V>
-
injectInto
public int injectInto(int injectedValue, IntObjectToIntFunction<? super V> function)- Specified by:
injectIntoin interfaceRichIterable<V>
-
injectInto
public long injectInto(long injectedValue, LongObjectToLongFunction<? super V> function)- Specified by:
injectIntoin interfaceRichIterable<V>
-
injectInto
public float injectInto(float injectedValue, FloatObjectToFloatFunction<? super V> function)- Specified by:
injectIntoin interfaceRichIterable<V>
-
injectInto
public double injectInto(double injectedValue, DoubleObjectToDoubleFunction<? super V> function)- Specified by:
injectIntoin interfaceRichIterable<V>
-
into
public <R extends Collection<V>> R into(R target)
- Specified by:
intoin interfaceRichIterable<V>
-
toList
public MutableList<V> toList()
- Specified by:
toListin interfaceRichIterable<V>
-
toSortedList
public MutableList<V> toSortedList()
- Specified by:
toSortedListin interfaceRichIterable<V>
-
toSortedList
public MutableList<V> toSortedList(Comparator<? super V> comparator)
- Specified by:
toSortedListin interfaceRichIterable<V>
-
toSortedListBy
public <VV extends Comparable<? super VV>> MutableList<V> toSortedListBy(Function<? super V,? extends VV> function)
- Specified by:
toSortedListByin interfaceRichIterable<V>
-
toSet
public MutableSet<V> toSet()
- Specified by:
toSetin interfaceRichIterable<V>
-
toSortedSet
public MutableSortedSet<V> toSortedSet()
- Specified by:
toSortedSetin interfaceRichIterable<V>
-
toSortedSet
public MutableSortedSet<V> toSortedSet(Comparator<? super V> comparator)
- Specified by:
toSortedSetin interfaceRichIterable<V>
-
toSortedSetBy
public <VV extends Comparable<? super VV>> MutableSortedSet<V> toSortedSetBy(Function<? super V,? extends VV> function)
- Specified by:
toSortedSetByin interfaceRichIterable<V>
-
toBag
public MutableBag<V> toBag()
- Specified by:
toBagin interfaceRichIterable<V>
-
toSortedBag
public MutableSortedBag<V> toSortedBag()
- Specified by:
toSortedBagin interfaceRichIterable<V>
-
toSortedBag
public MutableSortedBag<V> toSortedBag(Comparator<? super V> comparator)
- Specified by:
toSortedBagin interfaceRichIterable<V>
-
toSortedBagBy
public <VV extends Comparable<? super VV>> MutableSortedBag<V> toSortedBagBy(Function<? super V,? extends VV> function)
- Specified by:
toSortedBagByin interfaceRichIterable<V>
-
toMap
public <NK,NV> MutableMap<NK,NV> toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
- Specified by:
toMapin interfaceRichIterable<V>
-
toSortedMap
public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
- Specified by:
toSortedMapin interfaceRichIterable<V>
-
toSortedMap
public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Comparator<? super NK> comparator, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
- Specified by:
toSortedMapin interfaceRichIterable<V>
-
toSortedMapBy
public <KK extends Comparable<? super KK>,NK,NV> MutableSortedMap<NK,NV> toSortedMapBy(Function<? super NK,KK> sortBy, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
- Specified by:
toSortedMapByin interfaceRichIterable<V>
-
toBiMap
public <NK,NV> MutableBiMap<NK,NV> toBiMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
- Specified by:
toBiMapin interfaceRichIterable<V>
-
asLazy
public LazyIterable<V> asLazy()
- Specified by:
asLazyin interfaceRichIterable<V>
-
toArray
public Object[] toArray()
- Specified by:
toArrayin interfaceRichIterable<V>
-
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArrayin interfaceRichIterable<V>
-
min
public V min(Comparator<? super V> comparator)
- Specified by:
minin interfaceRichIterable<V>
-
max
public V max(Comparator<? super V> comparator)
- Specified by:
maxin interfaceRichIterable<V>
-
min
public V min()
- Specified by:
minin interfaceRichIterable<V>
-
max
public V max()
- Specified by:
maxin interfaceRichIterable<V>
-
maxBy
public <VV extends Comparable<? super VV>> V maxBy(Function<? super V,? extends VV> function)
- Specified by:
maxByin interfaceRichIterable<V>
-
minBy
public <VV extends Comparable<? super VV>> V minBy(Function<? super V,? extends VV> function)
- Specified by:
minByin interfaceRichIterable<V>
-
sumOfInt
public long sumOfInt(IntFunction<? super V> function)
- Specified by:
sumOfIntin interfaceRichIterable<V>
-
sumOfFloat
public double sumOfFloat(FloatFunction<? super V> function)
- Specified by:
sumOfFloatin interfaceRichIterable<V>
-
sumOfLong
public long sumOfLong(LongFunction<? super V> function)
- Specified by:
sumOfLongin interfaceRichIterable<V>
-
sumOfDouble
public double sumOfDouble(DoubleFunction<? super V> function)
- Specified by:
sumOfDoublein interfaceRichIterable<V>
-
sumByInt
public <V1> MutableObjectLongMap<V1> sumByInt(Function<? super V,? extends V1> groupBy, IntFunction<? super V> function)
- Specified by:
sumByIntin interfaceMutablePrimitiveObjectMap<V>- Specified by:
sumByIntin interfaceRichIterable<V>
-
sumByFloat
public <V1> MutableObjectDoubleMap<V1> sumByFloat(Function<? super V,? extends V1> groupBy, FloatFunction<? super V> function)
- Specified by:
sumByFloatin interfaceMutablePrimitiveObjectMap<V>- Specified by:
sumByFloatin interfaceRichIterable<V>
-
sumByLong
public <V1> MutableObjectLongMap<V1> sumByLong(Function<? super V,? extends V1> groupBy, LongFunction<? super V> function)
- Specified by:
sumByLongin interfaceMutablePrimitiveObjectMap<V>- Specified by:
sumByLongin interfaceRichIterable<V>
-
sumByDouble
public <V1> MutableObjectDoubleMap<V1> sumByDouble(Function<? super V,? extends V1> groupBy, DoubleFunction<? super V> function)
- Specified by:
sumByDoublein interfaceMutablePrimitiveObjectMap<V>- Specified by:
sumByDoublein interfaceRichIterable<V>
-
keySet
public MutableFloatSet keySet()
- Specified by:
keySetin interfaceFloatObjectMap<V>
-
values
public Collection<V> values()
- Specified by:
valuesin interfacePrimitiveObjectMap<V>
-
keysView
public LazyFloatIterable keysView()
- Specified by:
keysViewin interfaceFloatObjectMap<V>
-
keyValuesView
public RichIterable<FloatObjectPair<V>> keyValuesView()
- Specified by:
keyValuesViewin interfaceFloatObjectMap<V>
-
flipUniqueValues
public MutableObjectFloatMap<V> flipUniqueValues()
- Specified by:
flipUniqueValuesin interfaceFloatObjectMap<V>- Specified by:
flipUniqueValuesin interfaceMutableFloatObjectMap<V>
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacePrimitiveObjectMap<V>- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacePrimitiveObjectMap<V>- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfacePrimitiveObjectMap<V>- Specified by:
toStringin interfaceRichIterable<V>- Overrides:
toStringin classObject
-
makeString
public String makeString()
- Specified by:
makeStringin interfaceRichIterable<V>
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfaceRichIterable<V>
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfaceRichIterable<V>
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfaceRichIterable<V>
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfaceRichIterable<V>
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendStringin interfaceRichIterable<V>
-
groupBy
public <VV> MutableBagMultimap<VV,V> groupBy(Function<? super V,? extends VV> function)
- Specified by:
groupByin interfaceMutablePrimitiveObjectMap<V>- Specified by:
groupByin interfacePrimitiveObjectMap<V>- Specified by:
groupByin interfaceRichIterable<V>
-
groupBy
public <VV,R extends MutableMultimap<VV,V>> R groupBy(Function<? super V,? extends VV> function, R target)
- Specified by:
groupByin interfaceRichIterable<V>
-
groupByEach
public <VV> MutableBagMultimap<VV,V> groupByEach(Function<? super V,? extends Iterable<VV>> function)
- Specified by:
groupByEachin interfaceMutablePrimitiveObjectMap<V>- Specified by:
groupByEachin interfacePrimitiveObjectMap<V>- Specified by:
groupByEachin interfaceRichIterable<V>
-
groupByEach
public <VV,R extends MutableMultimap<VV,V>> R groupByEach(Function<? super V,? extends Iterable<VV>> function, R target)
- Specified by:
groupByEachin interfaceRichIterable<V>
-
groupByUniqueKey
public <V1> MutableMap<V1,V> groupByUniqueKey(Function<? super V,? extends V1> function)
- Specified by:
groupByUniqueKeyin interfaceMutablePrimitiveObjectMap<V>- Specified by:
groupByUniqueKeyin interfacePrimitiveObjectMap<V>- Specified by:
groupByUniqueKeyin interfaceRichIterable<V>
-
groupByUniqueKey
public <V1,R extends MutableMapIterable<V1,V>> R groupByUniqueKey(Function<? super V,? extends V1> function, R target)
- Specified by:
groupByUniqueKeyin interfaceRichIterable<V>
-
zip
@Deprecated public <S> MutableBag<Pair<V,S>> zip(Iterable<S> that)
Deprecated.in 7.0. UseOrderedIterable.zip(Iterable)instead.- Specified by:
zipin interfaceMutablePrimitiveObjectMap<V>- Specified by:
zipin interfacePrimitiveObjectMap<V>- Specified by:
zipin interfaceRichIterable<V>
-
zip
public <S,R extends Collection<Pair<V,S>>> R zip(Iterable<S> that, R target)
- Specified by:
zipin interfaceRichIterable<V>
-
withKeyValue
public MutableFloatObjectMap<V> withKeyValue(float key, V value)
- Specified by:
withKeyValuein interfaceMutableFloatObjectMap<V>
-
withoutKey
public MutableFloatObjectMap<V> withoutKey(float key)
- Specified by:
withoutKeyin interfaceMutableFloatObjectMap<V>
-
withoutAllKeys
public MutableFloatObjectMap<V> withoutAllKeys(FloatIterable keys)
- Specified by:
withoutAllKeysin interfaceMutableFloatObjectMap<V>
-
asUnmodifiable
public MutableFloatObjectMap<V> asUnmodifiable()
- Specified by:
asUnmodifiablein interfaceMutableFloatObjectMap<V>
-
asSynchronized
public MutableFloatObjectMap<V> asSynchronized()
- Specified by:
asSynchronizedin interfaceMutableFloatObjectMap<V>
-
toImmutable
public ImmutableFloatObjectMap<V> toImmutable()
- Specified by:
toImmutablein interfaceFloatObjectMap<V>
-
forEach
public void forEach(Procedure<? super V> procedure)
- Specified by:
forEachin interfaceInternalIterable<V>- Specified by:
forEachin interfaceRichIterable<V>
-
each
public void each(Procedure<? super V> procedure)
- Specified by:
eachin interfaceRichIterable<V>
-
forEachWithIndex
public void forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure)
- Specified by:
forEachWithIndexin interfaceInternalIterable<V>
-
forEachWith
public <P> void forEachWith(Procedure2<? super V,? super P> procedure, P parameter)
- Specified by:
forEachWithin interfaceInternalIterable<V>
-
-