Uses of Class
com.google.common.collect.ImmutableRangeMap
-
Packages that use ImmutableRangeMap Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections. -
-
Uses of ImmutableRangeMap in com.google.common.collect
Methods in com.google.common.collect that return ImmutableRangeMap Modifier and Type Method Description ImmutableRangeMap<K,V>
ImmutableRangeMap.Builder. build()
Returns anImmutableRangeMap
containing the associations previously added to this builder.static <K extends java.lang.Comparable<?>,V>
ImmutableRangeMap<K,V>ImmutableRangeMap. copyOf(RangeMap<K,? extends V> rangeMap)
static <K extends java.lang.Comparable<?>,V>
ImmutableRangeMap<K,V>ImmutableRangeMap. of()
Returns an empty immutable range map.static <K extends java.lang.Comparable<?>,V>
ImmutableRangeMap<K,V>ImmutableRangeMap. of(Range<K> range, V value)
Returns an immutable range map mapping a single range to a single value.ImmutableRangeMap<K,V>
ImmutableRangeMap. subRangeMap(Range<K> range)
Methods in com.google.common.collect that return types with arguments of type ImmutableRangeMap Modifier and Type Method Description static <T extends @Nullable java.lang.Object,K extends java.lang.Comparable<? super K>,V>
java.util.stream.Collector<T,?,ImmutableRangeMap<K,V>>ImmutableRangeMap. toImmutableRangeMap(java.util.function.Function<? super T,Range<K>> keyFunction, java.util.function.Function<? super T,? extends V> valueFunction)
Returns aCollector
that accumulates the input elements into a newImmutableRangeMap
.
-