Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 64 for TreeMap (0.06 seconds)

  1. android/guava/src/com/google/common/collect/TreeBasedTable.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import java.util.TreeMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/StandardValueGraph.java

    import static com.google.common.graph.GraphConstants.DEFAULT_NODE_COUNT;
    import static com.google.common.graph.Graphs.checkNonNegative;
    
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Standard implementation of {@link ValueGraph} that supports the options supplied by {@link
     * AbstractGraphBuilder}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/TreeBasedTable.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import java.util.TreeMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  4. android/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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                }
                valueTitles.add(element);
            }
    
            //adding the properties from the super class onto the inheriting class
            Map<String, PropertyDoc> props = new TreeMap<String, PropertyDoc>();
            List<ClassDoc> superTypes = classDoc.getSuperTypes();
            for (ClassDoc superType : superTypes) {
                LOG.info("Getting properties for {}", superType.getName());
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  8. 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<>();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  9. 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<>();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  10. 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()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top