Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for sortedMap (0.04 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/SortedMapInterfaceTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    /**
     * Tests representing the contract of {@link SortedMap}. Concrete subclasses of this base class test
     * conformance of concrete {@link SortedMap} subclasses to that contract.
     *
     * @author Jared Levy
     */
    // TODO: Use this class to test classes besides ImmutableSortedMap.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    /**
     * Tests representing the contract of {@link SortedMap}. Concrete subclasses of this base class test
     * conformance of concrete {@link SortedMap} subclasses to that contract.
     *
     * @author Jared Levy
     */
    // TODO: Use this class to test classes besides ImmutableSortedMap.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

    import java.util.SortedMap;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    public class TreeBasedTableRowMapInterfaceTest extends SortedMapInterfaceTest<String, String> {
      public TreeBasedTableRowMapInterfaceTest() {
        super(false, false, true, true, true);
      }
    
      @Override
      protected SortedMap<String, String> makeEmptyMap() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top