Uses of Class
com.google.common.collect.ImmutableRangeMap
Packages that use ImmutableRangeMap
Package
Description
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
-
Uses of ImmutableRangeMap in com.google.common.collect
Fields in com.google.common.collect declared as ImmutableRangeMapModifier and TypeFieldDescriptionprivate static final ImmutableRangeMap<Comparable<?>,Object> ImmutableRangeMap.EMPTYMethods in com.google.common.collect that return ImmutableRangeMapModifier and TypeMethodDescriptionImmutableRangeMap.Builder.build()Returns anImmutableRangeMapcontaining 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) Methods in com.google.common.collect that return types with arguments of type ImmutableRangeMapModifier and TypeMethodDescription(package private) static <T,K extends Comparable<? super K>, V>
Collector<T,?, ImmutableRangeMap<K, V>> CollectCollectors.toImmutableRangeMap(Function<? super T, Range<K>> keyFunction, Function<? super T, ? extends V> valueFunction) static <T,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 aCollectorthat accumulates the input elements into a newImmutableRangeMap.