Modifier and Type | Method and Description |
---|---|
static <K,V> boolean |
allMatch(MapStream<K,V> s,
BiPredicate<? super K,? super V> biPredicate) |
static <K,V> boolean |
anyMatch(MapStream<K,V> s,
BiPredicate<? super K,? super V> biPredicate) |
static <K,V> MapStream<K,Iterable<V>> |
asMultiStream(MapStream<K,V> s) |
static <K,V> MapStream<K,V> |
filter(MapStream<K,V> s,
BiPredicate<? super K,? super V> predicate) |
static <K,V> MapStream<K,V> |
filterKeys(MapStream<K,V> s,
Predicate<K> filter) |
static <K,V> MapStream<K,V> |
filterValues(MapStream<K,V> s,
Predicate<V> filter) |
static <K,V> void |
forEach(MapStream<K,V> s,
BiBlock<? super K,? super V> block) |
static <K,V> BiValue<K,V> |
getAny(MapStream<K,V> s) |
static <K,V> BiValue<K,V> |
getFirst(MapStream<K,V> s) |
static <K,V> BiValue<K,V> |
getOnly(MapStream<K,V> s) |
static <K,V> Iterable<K> |
inputs(MapStream<K,V> s) |
static <K,V,A extends Map<? super K,? super V>> |
into(MapStream<K,V> s,
A destination) |
static <K,V,A extends Map<? super K,C>,C extends Collection<? super V>> |
intoMulti(MapStream<K,V> s,
A destination,
Factory<C> factory) |
static <K,V> boolean |
isEmpty(MapStream<K,V> s) |
static <K,V,W> MapStream<K,W> |
map(MapStream<K,V> s,
BiMapper<K,V,W> mapper) |
static <K,V,W> MapStream<K,W> |
mapValues(MapStream<K,V> s,
Mapper<V,W> mapper) |
static <K,V,W> MapStream<K,Iterable<W>> |
mapValuesMulti(MapStream<K,V> s,
BiMapper<? super K,? super V,Iterable<W>> iterableBiMapper) |
static <K,V> MapStream<K,V> |
merge(MapStream<K,V> s,
MapStream<K,V> other) |
static <K,V> MapStream<K,V> |
of(Iterable<Map.Entry<K,V>> iterable) |
static <K,V> MapStream<K,V> |
sorted(MapStream<K,V> s,
Comparator<? super K> comparator) |
static <K,V> MapStream<V,K> |
swap(MapStream<K,V> s) |
static <K,V> Iterable<V> |
values(MapStream<K,V> s) |
public static <K,V> MapStream<K,V> filter(MapStream<K,V> s, BiPredicate<? super K,? super V> predicate)
public static <K,V> MapStream<K,V> sorted(MapStream<K,V> s, Comparator<? super K> comparator)
public static <K,V> boolean anyMatch(MapStream<K,V> s, BiPredicate<? super K,? super V> biPredicate)
public static <K,V> boolean isEmpty(MapStream<K,V> s)
public static <K,V> boolean allMatch(MapStream<K,V> s, BiPredicate<? super K,? super V> biPredicate)
public static <K,V,W> MapStream<K,Iterable<W>> mapValuesMulti(MapStream<K,V> s, BiMapper<? super K,? super V,Iterable<W>> iterableBiMapper)
public static <K,V,A extends Map<? super K,C>,C extends Collection<? super V>> A intoMulti(MapStream<K,V> s, A destination, Factory<C> factory)
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.