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 Comparable<?>,V>
ImmutableRangeMap<K,V>ImmutableRangeMap. copyOf(RangeMap<K,? extends V> rangeMap)
static <K extends Comparable<?>,V>
ImmutableRangeMap<K,V>ImmutableRangeMap. of()
Returns an empty immutable range map.static <K extends 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 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
.
-