Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutableRangeMap<K extends Comparable<?>,V>
An immutable implementation of
RangeMap , supporting all query operations efficiently. |
class |
TreeRangeMap<K extends Comparable,V>
An implementation of
RangeMap based on a TreeMap , supporting
all optional operations. |
Modifier and Type | Method and Description |
---|---|
RangeMap<K,V> |
RangeMap.subRangeMap(Range<K> range)
Returns a view of the part of this range map that intersects with
range . |
RangeMap<K,V> |
TreeRangeMap.subRangeMap(Range<K> subRange) |
Modifier and Type | Method and Description |
---|---|
static <K extends Comparable<?>,V> |
ImmutableRangeMap.copyOf(RangeMap<K,? extends V> rangeMap) |
ImmutableRangeMap.Builder<K,V> |
ImmutableRangeMap.Builder.putAll(RangeMap<K,? extends V> rangeMap)
Copies all associations from the specified range map into this builder.
|
void |
RangeMap.putAll(RangeMap<K,V> rangeMap)
Puts all the associations from
rangeMap into this range map (optional operation). |
void |
TreeRangeMap.putAll(RangeMap<K,V> rangeMap) |
void |
ImmutableRangeMap.putAll(RangeMap<K,V> rangeMap) |
Copyright © 2010-2013. All Rights Reserved.