HomeSort by relevance Sort by last modified time
    Searched refs:rangeMap (Results 1 - 9 of 9) sorted by null

  /external/guava/guava-tests/test/com/google/common/collect/
TreeRangeMapTest.java 60 RangeMap<Integer, String> rangeMap = TreeRangeMap.create();
64 rangeMap.put(entry.getKey(), entry.getValue());
66 return rangeMap.asMapOfRanges();
115 RangeMap<Integer, String> rangeMap = TreeRangeMap.create();
119 rangeMap.put(entry.getKey(), entry.getValue());
121 return rangeMap.subRangeMap(Range.atMost(22)).asMapOfRanges();
192 RangeMap<Integer, Integer> rangeMap = TreeRangeMap.create()
    [all...]
ImmutableRangeMapTest.java 104 ImmutableRangeMap<Integer, Integer> rangeMap =
115 assertEquals(expectedValue, rangeMap.get(i));
132 RangeMap<Integer, Integer> rangemap = local
134 assertEquals(range, rangemap.span());
142 RangeMap<Integer, Integer> rangemap = local
144 assertEquals(range1.span(range2), rangemap.span());
154 ImmutableRangeMap<Integer, Integer> rangeMap =
165 assertEquals(expectedEntry, rangeMap.getEntry(i))
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableRangeMap.java 33 * An immutable implementation of {@code RangeMap}, supporting all query operations efficiently.
35 * <p>Like all {@code RangeMap} implementations, this supports neither null keys nor null values.
42 public class ImmutableRangeMap<K extends Comparable<?>, V> implements RangeMap<K, V> {
66 RangeMap<K, ? extends V> rangeMap) {
67 if (rangeMap instanceof ImmutableRangeMap) {
68 return (ImmutableRangeMap<K, V>) rangeMap;
70 Map<Range<K>, ? extends V> map = rangeMap.asMapOfRanges();
92 private final RangeMap<K, V> rangeMap;
    [all...]
RangeMap.java 36 public interface RangeMap<K extends Comparable, V> {
56 * in this {@code RangeMap}.
74 * Puts all the associations from {@code rangeMap} into this range map (optional operation).
76 void putAll(RangeMap<K, V> rangeMap);
103 * <p>For example, if {@code rangeMap} had the entries
105 * then {@code rangeMap.subRangeMap(Range.open(3, 12))} would return a range map
114 RangeMap<K, V> subRangeMap(Range<K> range);
117 * Returns {@code true} if {@code obj} is another {@code RangeMap} that has an equivalent
TreeRangeMap.java 45 * An implementation of {@code RangeMap} based on a {@code TreeMap}, supporting
48 * <p>Like all {@code RangeMap} implementations, this supports neither null
56 public final class TreeRangeMap<K extends Comparable, V> implements RangeMap<K, V> {
134 public void putAll(RangeMap<K, V> rangeMap) {
135 for (Map.Entry<Range<K>, V> entry : rangeMap.asMapOfRanges().entrySet()) {
249 public RangeMap<K, V> subRangeMap(Range<K> subRange) {
258 private RangeMap<K, V> emptySubRangeMap() {
262 private static final RangeMap EMPTY_SUB_RANGE_MAP =
263 new RangeMap() {
    [all...]
  /external/dagger2/lib/
google-java-format-0.1-20151017.042846-2.jar 
  /external/guice/lib/
guava-19.0.jar 
  /external/cldr/tools/java/libs/
guava.jar 
  /external/conscrypt/benchmark-android/
vogar.jar 

Completed in 217 milliseconds