Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for TreeMap (0.74 sec)

  1. android/guava/src/com/google/common/graph/StandardNetwork.java

    import static java.util.Objects.requireNonNull;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeMap;
    
    /**
     * Standard implementation of {@link Network} that supports the options supplied by {@link
     * NetworkBuilder}.
     *
     * <p>This class maintains a map of nodes to {@link NetworkConnections}. This class also maintains a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/StandardNetwork.java

    import static java.util.Objects.requireNonNull;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeMap;
    
    /**
     * Standard implementation of {@link Network} that supports the options supplied by {@link
     * NetworkBuilder}.
     *
     * <p>This class maintains a map of nodes to {@link NetworkConnections}. This class also maintains a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.nio.file.Files;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.TreeMap;
    import java.util.regex.MatchResult;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Checks adoc files for broken links.
     */
    @CacheableTask
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MultimapBuilder.java

    import java.util.EnumMap;
    import java.util.EnumSet;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedSet;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable builder for {@link Multimap} instances, letting you independently select the desired
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

     *  limitations under the License.
     */
    
    package okhttp3
    
    import java.time.Instant
    import java.util.Date
    import java.util.Locale
    import java.util.TreeMap
    import java.util.TreeSet
    import okhttp3.internal.commonAdd
    import okhttp3.internal.commonAddAll
    import okhttp3.internal.commonAddLenient
    import okhttp3.internal.commonBuild
    import okhttp3.internal.commonEquals
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       * syntax</a>.
       *
       * @return a new, empty {@code TreeMap}
       */
      @SuppressWarnings({
        "rawtypes", // https://github.com/google/guava/issues/989
        "NonApiType", // acts as a direct substitute for a constructor call
      })
      public static <K extends Comparable, V extends @Nullable Object> TreeMap<K, V> newTreeMap() {
        return new TreeMap<>();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

       * syntax</a>.
       *
       * @return a new, empty {@code TreeMap}
       */
      @SuppressWarnings({
        "rawtypes", // https://github.com/google/guava/issues/989
        "NonApiType", // acts as a direct substitute for a constructor call
      })
      public static <K extends Comparable, V extends @Nullable Object> TreeMap<K, V> newTreeMap() {
        return new TreeMap<>();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

        @PathSensitive(PathSensitivity.RELATIVE)
        public abstract DirectoryProperty getDocumentationRoot();
    
        @TaskAction
        public void checkMultiLanguageSnippets() {
            Map<File, List<Error>> errors = new TreeMap<>();
    
            getDocumentationRoot().getAsFileTree().matching(spec -> spec.include("**/*.adoc")).forEach(file -> {
                gatherBadSnippetsInFile(file, errors);
            });
    
            if (!errors.isEmpty()) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Aug 29 10:12:17 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CollectCollectors.java

    import com.google.common.base.Preconditions;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.EnumMap;
    import java.util.EnumSet;
    import java.util.LinkedHashMap;
    import java.util.TreeMap;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.function.Supplier;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(emptyMap(), map);
      }
    
      public void testTreeMap() {
        TreeMap<Integer, Integer> map = Maps.newTreeMap();
        assertEquals(emptyMap(), map);
        assertThat(map.comparator()).isNull();
      }
    
      public void testTreeMapDerived() {
        TreeMap<Derived, Integer> map = Maps.newTreeMap();
        assertEquals(emptyMap(), map);
        map.put(new Derived("foo"), 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top