Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for subRangeMap (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

              }
              RangeMap<Integer, Integer> subRangeMap = rangeMap.subRangeMap(subRange);
              assertEquals(expected, subRangeMap);
              assertEquals(expected.asMapOfRanges(), subRangeMap.asMapOfRanges());
              assertEquals(expected.asDescendingMapOfRanges(), subRangeMap.asDescendingMapOfRanges());
              assertEquals(
                  ImmutableList.copyOf(subRangeMap.asMapOfRanges().entrySet()).reverse(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeRangeMap.java

            }
    
            @Override
            public RangeMap<Comparable<?>, Object> subRangeMap(Range<Comparable<?>> range) {
              checkNotNull(range);
              return this;
            }
          };
    
      private class SubRangeMap implements RangeMap<K, V> {
    
        private final Range<K> subRange;
    
        SubRangeMap(Range<K> subRange) {
          this.subRange = subRange;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

            }
    
            @Override
            public RangeMap<Comparable<?>, Object> subRangeMap(Range<Comparable<?>> range) {
              checkNotNull(range);
              return this;
            }
          };
    
      private class SubRangeMap implements RangeMap<K, V> {
    
        private final Range<K> subRange;
    
        SubRangeMap(Range<K> subRange) {
          this.subRange = subRange;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        return new ImmutableRangeMap<K, V>(subRanges, values.subList(lowerIndex, upperIndex)) {
          @Override
          public ImmutableRangeMap<K, V> subRangeMap(Range<K> subRange) {
            if (range.isConnected(subRange)) {
              return outer.subRangeMap(subRange.intersection(range));
            } else {
              return ImmutableRangeMap.of();
            }
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

                  }
                }
    
                ImmutableRangeMap<Integer, Integer> expected = expectedBuilder.build();
                assertEquals(expected, rangeMap.subRangeMap(subRange));
              }
            }
          }
        }
      }
    
      public void testSerialization() {
        ImmutableRangeMap<Integer, Integer> emptyRangeMap = ImmutableRangeMap.of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

                  }
                }
    
                ImmutableRangeMap<Integer, Integer> expected = expectedBuilder.build();
                assertEquals(expected, rangeMap.subRangeMap(subRange));
              }
            }
          }
        }
      }
    
      public void testSerialization() {
        ImmutableRangeMap<Integer, Integer> emptyRangeMap = ImmutableRangeMap.of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top