public interface ImmutableFloatObjectMap<V> extends FloatObjectMap<V>, ImmutablePrimitiveObjectMap<V>
Modifier and Type | Method and Description |
---|---|
ImmutableFloatObjectMap<V> |
newWithKeyValue(float key,
V value) |
ImmutableFloatObjectMap<V> |
newWithoutAllKeys(FloatIterable keys) |
ImmutableFloatObjectMap<V> |
newWithoutKey(float key) |
ImmutableFloatObjectMap<V> |
reject(FloatObjectPredicate<? super V> predicate) |
ImmutableFloatObjectMap<V> |
select(FloatObjectPredicate<? super V> predicate) |
ImmutableFloatObjectMap<V> |
tap(Procedure<? super V> procedure)
Executes the Procedure for each element in the iterable and returns
this . |
containsKey, forEachKey, forEachKeyValue, get, getIfAbsent, keySet, keysView, keyValuesView, toImmutable
aggregateBy, aggregateInPlaceBy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, flatCollect, groupBy, groupByEach, groupByUniqueKey, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, zip, zipWithIndex
containsValue, equals, forEachValue, hashCode, toString, values
allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, getFirst, getLast, getOnly, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndex
forEach, forEachWith, forEachWithIndex
forEach, iterator, spliterator
ImmutableFloatObjectMap<V> tap(Procedure<? super V> procedure)
RichIterable
this
.
Example using a Java 8 lambda expression:
RichIterable<Person> tapped = people.tap(person -> LOGGER.info(person.getName()));
Example using an anonymous inner class:
RichIterable<Person> tapped = people.tap(new Procedure() { public void value(Person person) { LOGGER.info(person.getName()); } });
tap
in interface FloatObjectMap<V>
tap
in interface RichIterable<V>
RichIterable.each(Procedure)
,
InternalIterable.forEach(Procedure)
ImmutableFloatObjectMap<V> select(FloatObjectPredicate<? super V> predicate)
select
in interface FloatObjectMap<V>
ImmutableFloatObjectMap<V> reject(FloatObjectPredicate<? super V> predicate)
reject
in interface FloatObjectMap<V>
ImmutableFloatObjectMap<V> newWithKeyValue(float key, V value)
ImmutableFloatObjectMap<V> newWithoutKey(float key)
ImmutableFloatObjectMap<V> newWithoutAllKeys(FloatIterable keys)
Copyright © 2004–2016. All rights reserved.