Uses of Class
com.google.common.collect.ImmutableRangeMap
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableRangeMap in com.google.common.collect
Modifier and TypeMethodDescriptionImmutableRangeMap.Builder.build()
Returns anImmutableRangeMap
containing the associations previously added to this builder.static <K extends Comparable<?>,
V>
ImmutableRangeMap<K, V> static <K extends Comparable<?>,
V>
ImmutableRangeMap<K, V> ImmutableRangeMap.of()
Returns an empty immutable range map.static <K extends Comparable<?>,
V>
ImmutableRangeMap<K, V> Returns an immutable range map mapping a single range to a single value.ImmutableRangeMap.subRangeMap
(Range<K> range) Modifier and TypeMethodDescriptionstatic <T extends @Nullable Object,
K extends Comparable<? super K>, V>
Collector<T, ?, ImmutableRangeMap<K, V>> ImmutableRangeMap.toImmutableRangeMap
(Function<? super T, Range<K>> keyFunction, Function<? super T, ? extends V> valueFunction) Returns aCollector
that accumulates the input elements into a newImmutableRangeMap
.