Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sortedMap (0.03 sec)

  1. 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)
  2. 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
    - 65K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          Map<? extends K, ? extends V> map, Comparator<? super K> comparator) {
        boolean sameComparator = false;
        if (map instanceof SortedMap) {
          SortedMap<?, ?> sortedMap = (SortedMap<?, ?>) map;
          Comparator<?> comparator2 = sortedMap.comparator();
          sameComparator =
              (comparator2 == null) ? comparator == NATURAL_ORDER : comparator.equals(comparator2);
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

          SortedMap<K, V> sortedMap, @Nullable Object mutex) {
        return new SynchronizedSortedMap<>(sortedMap, mutex);
      }
    
      static class SynchronizedSortedMap<K extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedMap<K, V> implements SortedMap<K, V> {
    
        SynchronizedSortedMap(SortedMap<K, V> delegate, @Nullable Object mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Synchronized.java

          SortedMap<K, V> sortedMap, @Nullable Object mutex) {
        return new SynchronizedSortedMap<>(sortedMap, mutex);
      }
    
      static class SynchronizedSortedMap<K extends @Nullable Object, V extends @Nullable Object>
          extends SynchronizedMap<K, V> implements SortedMap<K, V> {
    
        SynchronizedSortedMap(SortedMap<K, V> delegate, @Nullable Object mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @return a new instance of {@link ConcurrentSkipListMap}
         * @see ConcurrentSkipListMap#ConcurrentSkipListMap(SortedMap)
         */
        public static <K, V> ConcurrentSkipListMap<K, V> newConcurrentSkipListMap(final SortedMap<K, ? extends V> m) {
            return new ConcurrentSkipListMap<>(m);
        }
    
        /**
         * Creates and returns a new instance of {@link ConcurrentSkipListSet}.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
Back to top