Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for sortedMap (0.12 sec)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      private class SortedAsMap extends AsMap implements SortedMap<K, Collection<V>> {
        SortedAsMap(SortedMap<K, Collection<V>> submap) {
          super(submap);
        }
    
        SortedMap<K, Collection<V>> sortedMap() {
          return (SortedMap<K, Collection<V>>) submap;
        }
    
        @Override
        public @Nullable Comparator<? super K> comparator() {
          return sortedMap().comparator();
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

        suite.addTest(
            SortedMapTestSuiteBuilder.using(
                    new TestStringSortedMapGenerator() {
                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        SortedMap<String, String> map = new NonNavigableSortedMap();
                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

        SortedMapDifferenceImpl(
            SortedMap<K, V> onlyOnLeft,
            SortedMap<K, V> onlyOnRight,
            SortedMap<K, V> onBoth,
            SortedMap<K, ValueDifference<V>> differences) {
          super(onlyOnLeft, onlyOnRight, onBoth, differences);
        }
    
        @Override
        public SortedMap<K, ValueDifference<V>> entriesDiffering() {
          return (SortedMap<K, ValueDifference<V>>) super.entriesDiffering();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        SortedMapDifferenceImpl(
            SortedMap<K, V> onlyOnLeft,
            SortedMap<K, V> onlyOnRight,
            SortedMap<K, V> onBoth,
            SortedMap<K, ValueDifference<V>> differences) {
          super(onlyOnLeft, onlyOnRight, onBoth, differences);
        }
    
        @Override
        public SortedMap<K, ValueDifference<V>> entriesDiffering() {
          return (SortedMap<K, ValueDifference<V>>) super.entriesDiffering();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

      private static <K, V> SortedMap<K, V> sortedNotNavigable(SortedMap<K, V> map) {
        return new ForwardingSortedMap<K, V>() {
          @Override
          protected SortedMap<K, V> delegate() {
            return map;
          }
        };
      }
    
      public void testSortedMapTransformValues() {
        SortedMap<String, Integer> map = sortedNotNavigable(ImmutableSortedMap.of("a", 4, "b", 9));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            delegate.subMap(checkValid(fromKey), fromInclusive, checkValid(toKey), toInclusive));
      }
    
      @Override
      public SortedMap<K, V> subMap(K fromKey, K toKey) {
        return subMap(fromKey, true, toKey, false);
      }
    
      @Override
      public SortedMap<K, V> tailMap(K fromKey) {
        return tailMap(fromKey, true);
      }
    
      @Override
      public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

            TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) {
          super(delegate, to, from);
        }
    
        @Override
        NavigableMap<K, V> createSubMap(SortedMap<K, V> sortedMap, K firstExclusive, K lastExclusive) {
          NavigableMap<K, V> map = (NavigableMap<K, V>) sortedMap;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return map.headMap(lastInclusive, true);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/StandardRowSortedTable.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This method returns a {@link SortedMap}, instead of the {@code Map} specified in the {@link
       * Table} interface.
       */
      @Override
      public SortedMap<R, Map<C, V>> rowMap() {
        return (SortedMap<R, Map<C, V>>) super.rowMap();
      }
    
      @Override
      SortedMap<R, Map<C, V>> createRowMap() {
        return new RowSortedMap();
      }
    
      @WeakOuter
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

        extends ForwardingMap<K, V> implements SortedMap<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingSortedMap() {}
    
      @Override
      protected abstract SortedMap<K, V> delegate();
    
      @Override
      public @Nullable Comparator<? super K> comparator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

      }
    
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() {
        return new SimpleForwardingSortedMap<>(
            new TreeMap<String, Integer>(Ordering.<String>natural().nullsFirst()));
      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        SortedMap<String, Integer> sortedMap = makeEmptyMap();
        sortedMap.put("one", 1);
        sortedMap.put("two", 2);
        sortedMap.put("three", 3);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top