CharObjectMap<V>, ImmutablePrimitiveObjectMap<V>, InternalIterable<V>, java.lang.Iterable<V>, PrimitiveObjectMap<V>, RichIterable<V>AbstractImmutableCharObjectMappublic interface ImmutableCharObjectMap<V> extends CharObjectMap<V>, ImmutablePrimitiveObjectMap<V>
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableObjectCharMap<V> |
flipUniqueValues() |
Return the ObjectCharMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
ImmutableCharObjectMap<V> |
newWithKeyValue(char key,
V value) |
|
ImmutableCharObjectMap<V> |
newWithoutAllKeys(CharIterable keys) |
|
ImmutableCharObjectMap<V> |
newWithoutKey(char key) |
|
ImmutableCharObjectMap<V> |
reject(CharObjectPredicate<? super V> predicate) |
|
ImmutableCharObjectMap<V> |
select(CharObjectPredicate<? super V> predicate) |
|
ImmutableCharObjectMap<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, toImmutableaggregateBy, aggregateInPlaceBy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, flatCollect, flatCollectWith, groupBy, groupByEach, groupByUniqueKey, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, zip, zipWithIndexforEach, forEachWith, forEachWithIndexcontainsValue, equals, forEachValue, hashCode, parallelStream, spliterator, stream, toString, valuesallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countBy, countBy, countByEach, countByEach, countByWith, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectWith, forEach, getAny, getFirst, getLast, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndexImmutableCharObjectMap<V> tap(Procedure<? super V> procedure)
RichIterablethis.
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<Person>()
{
public void value(Person person)
{
LOGGER.info(person.getName());
}
});
tap in interface CharObjectMap<V>tap in interface RichIterable<V>RichIterable.each(Procedure),
RichIterable.forEach(Procedure)ImmutableCharObjectMap<V> select(CharObjectPredicate<? super V> predicate)
select in interface CharObjectMap<V>ImmutableCharObjectMap<V> reject(CharObjectPredicate<? super V> predicate)
reject in interface CharObjectMap<V>ImmutableCharObjectMap<V> newWithKeyValue(char key, V value)
ImmutableCharObjectMap<V> newWithoutKey(char key)
ImmutableCharObjectMap<V> newWithoutAllKeys(CharIterable keys)
ImmutableObjectCharMap<V> flipUniqueValues()
CharObjectMapflipUniqueValues in interface CharObjectMap<V>Copyright © 2004–2020. All rights reserved.