Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 64 for TreeMap (0.12 seconds)

  1. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        /**
         * Creates and returns a new instance of {@link TreeMap}.
         *
         * @param <K> the key type of {@link TreeMap}
         * @param <V> the value type of {@link TreeMap}
         * @return a new instance of {@link TreeMap}
         * @see TreeMap#TreeMap()
         */
        public static <K, V> TreeMap<K, V> newTreeMap() {
            return new TreeMap<>();
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    NavigableMap<String, String> map = populate(new TreeMap<String, String>(), entries);
                    return Collections.checkedNavigableMap(map, String.class, String.class);
                  }
                })
            .named("checkedNavigableMap/TreeMap, natural")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_VALUES,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    SortedMap<String, String> map = populate(new TreeMap<String, String>(), entries);
                    return Collections.checkedSortedMap(map, String.class, String.class);
                  }
                })
            .named("checkedSortedMap/TreeMap, natural")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_VALUES,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public SafeTreeMap() {
        this(new TreeMap<K, V>());
      }
    
      public SafeTreeMap(Comparator<? super K> comparator) {
        this(new TreeMap<K, V>(comparator));
      }
    
      public SafeTreeMap(Map<? extends K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      public SafeTreeMap(SortedMap<K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/BreakingChangesGenerator.java

    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.TreeMap;
    import java.util.stream.Collectors;
    
    import static java.util.Comparator.comparing;
    import static java.util.stream.Collectors.groupingBy;
    
    /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Supplier<TreeMap<Integer, Character>> factory =
            new Supplier<TreeMap<Integer, Character>>() {
              @Override
              public TreeMap<Integer, Character> get() {
                return Maps.newTreeMap();
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/Maps.java

         *
         * @param <KEY> the key type of the <code>Map</code>
         * @param <VALUE> the value type of the <code>Map</code>
         * @param key the key to be added to the <code>Map</code>
         * @param value the value to be added to the <code>Map</code>
         * @return a {@literal Maps} for constructing a {@link TreeMap} with the specified key and value
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public SafeTreeMap() {
        this(new TreeMap<K, V>());
      }
    
      public SafeTreeMap(Comparator<? super K> comparator) {
        this(new TreeMap<K, V>(comparator));
      }
    
      public SafeTreeMap(Map<? extends K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      public SafeTreeMap(SortedMap<K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

              {new MapIteratorCache<String, String>(new HashMap<String, String>())},
              {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))},
              {new MapRetrievalCache<String, String>(new HashMap<String, String>())},
              {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))}
            });
      }
    
      @Before
      public void init() {
        mapCache.clear();
      }
    
      @Test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesGenerator.java

    import java.io.IOException;
    import java.nio.file.Files;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeMap;
    
    import static java.util.Comparator.comparing;
    import static java.util.stream.Collectors.groupingBy;
    import static java.util.stream.Collectors.toList;
    
    /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 4.5K bytes
    - Click Count (0)
Back to Top