Uses of Class
com.google.common.collect.ImmutableRangeMap
Packages that use ImmutableRangeMap
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableRangeMap in com.google.common.collect
Methods 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 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 aCollectorthat accumulates the input elements into a newImmutableRangeMap.