Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for asMapOfRanges (0.07 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/RangeMap.java

      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
       * Returns {@code true} if {@code obj} is another {@code RangeMap} that has an equivalent {@link
       * #asMapOfRanges()}.
       */
      @Override
      boolean equals(@CheckForNull Object o);
    
      /** Returns {@code asMapOfRanges().hashCode()}. */
      @Override
      int hashCode();
    
      /** Returns a readable string representation of this range map. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. 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)
  6. guava/src/com/google/common/collect/RangeMap.java

      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
       * Returns {@code true} if {@code obj} is another {@code RangeMap} that has an equivalent {@link
       * #asMapOfRanges()}.
       */
      @Override
      boolean equals(@CheckForNull Object o);
    
      /** Returns {@code asMapOfRanges().hashCode()}. */
      @Override
      int hashCode();
    
      /** Returns a readable string representation of this range map. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. 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