Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for asMapOfRanges (0.06 sec)

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

              assertEquals(expected, subRangeMap);
              assertEquals(expected.asMapOfRanges(), subRangeMap.asMapOfRanges());
              assertEquals(expected.asDescendingMapOfRanges(), subRangeMap.asDescendingMapOfRanges());
              assertEquals(
                  ImmutableList.copyOf(subRangeMap.asMapOfRanges().entrySet()).reverse(),
                  ImmutableList.copyOf(subRangeMap.asDescendingMapOfRanges().entrySet()));
    
    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 Map<Range<K>, V> asMapOfRanges() {
        return new AsMapOfRanges(entriesByLowerBound.values());
      }
    
      @Override
      public Map<Range<K>, V> asDescendingMapOfRanges() {
        return new AsMapOfRanges(entriesByLowerBound.descendingMap().values());
      }
    
      private final class AsMapOfRanges extends IteratorBasedAbstractMap<Range<K>, V> {
    
    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 Map<Range<K>, V> asMapOfRanges() {
        return new AsMapOfRanges(entriesByLowerBound.values());
      }
    
      @Override
      public Map<Range<K>, V> asDescendingMapOfRanges() {
        return new AsMapOfRanges(entriesByLowerBound.descendingMap().values());
      }
    
      private final class AsMapOfRanges extends IteratorBasedAbstractMap<Range<K>, V> {
    
    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

          }
        };
      }
    
      @Override
      public int hashCode() {
        return asMapOfRanges().hashCode();
      }
    
      @Override
      public boolean equals(@CheckForNull Object o) {
        if (o instanceof RangeMap) {
          RangeMap<?, ?> rangeMap = (RangeMap<?, ?>) o;
          return asMapOfRanges().equals(rangeMap.asMapOfRanges());
        }
        return false;
      }
    
      @Override
      public String toString() {
    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

              ImmutableMap<Range<Integer>, Integer> expectedAsMap =
                  ImmutableMap.of(range1, 1, range2, 2);
              ImmutableMap<Range<Integer>, Integer> asMap = rangeMap.asMapOfRanges();
              ImmutableMap<Range<Integer>, Integer> descendingMap = rangeMap.asDescendingMapOfRanges();
              assertEquals(expectedAsMap, asMap);
              assertEquals(expectedAsMap, descendingMap);
    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

              ImmutableMap<Range<Integer>, Integer> expectedAsMap =
                  ImmutableMap.of(range1, 1, range2, 2);
              ImmutableMap<Range<Integer>, Integer> asMap = rangeMap.asMapOfRanges();
              ImmutableMap<Range<Integer>, Integer> descendingMap = rangeMap.asDescendingMapOfRanges();
              assertEquals(expectedAsMap, asMap);
              assertEquals(expectedAsMap, descendingMap);
    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