Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 475 for tree (0.13 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

       */
      public void testCreateFromTreeMultimap() {
        Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
        tree.put(3.0, 4.0);
        tree.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromTree = TreeMultimap.create(tree);
        assertEquals(tree, copyFromTree);
        assertSame(Ordering.natural(), copyFromTree.keyComparator());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        tree.put("tree", 3);
        assertThat(tree.keySet()).containsExactly("tree", "google").inOrder();
        assertThat(tree.get("google")).containsExactly(6, 2).inOrder();
    
        TreeMultimap<String, Integer> copy = TreeMultimap.create(tree);
        assertEquals(tree, copy);
        assertThat(copy.keySet()).containsExactly("google", "tree").inOrder();
        assertThat(copy.get("google")).containsExactly(2, 6).inOrder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

       */
      public void testCreateFromTreeMultimap() {
        Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
        tree.put(3.0, 4.0);
        tree.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromTree = TreeMultimap.create(tree);
        assertEquals(tree, copyFromTree);
        assertSame(Ordering.natural(), copyFromTree.keyComparator());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeTraverser.java

    import java.util.Deque;
    import java.util.Iterator;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    
    /**
     * Views elements of a type {@code T} as nodes in a tree, and provides methods to traverse the trees
     * induced by this traverser.
     *
     * <p>For example, the tree
     *
     * <pre>{@code
     *        h
     *      / | \
     *     /  e  \
     *    d       g
     *   /|\      |
     *  / | \     f
     * a  b  c
     * }</pre>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        tree.put("tree", 3);
        assertThat(tree.keySet()).containsExactly("tree", "google").inOrder();
        assertThat(tree.get("google")).containsExactly(6, 2).inOrder();
    
        TreeMultimap<String, Integer> copy = TreeMultimap.create(tree);
        assertEquals(tree, copy);
        assertThat(copy.keySet()).containsExactly("google", "tree").inOrder();
        assertThat(copy.get("google")).containsExactly(2, 6).inOrder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependenciesResolver.java

         * @param session The repository session to use for resolving the plugin artifacts, must not be {@code null}.
         * @return The dependency tree denoting the resolved plugin class path, never {@code null}.
         * @throws PluginResolutionException If any dependency could not be resolved.
         */
        DependencyNode resolve(
                Plugin plugin,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

         * User property for reverse dependency tree. If enabled, Maven will record ".tracking" directory into local
         * repository with "reverse dependency tree", essentially explaining WHY given artifact is present in local
         * repository.
         * Default: {@code false}, will not record anything.
         *
         * @since 3.9.0
         */
        private static final String MAVEN_REPO_LOCAL_RECORD_REVERSE_TREE = "maven.repo.local.recordReverseTree";
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java

            InternalSession.associate(rsession, session);
    
            List<ProjectBuildingResult> results = projectBuilder.build(
                    Collections.singletonList(new File("src/test/resources/projects/tree/pom.xml")), true, request);
    
            assertEquals(3, results.size());
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        private static boolean isTestPathElement(final String scope) {
            return true;
        }
    
        /**
         * Returns a filtered list of classpath elements. This method is invoked when the caller
         * requested that all dependencies are placed on the classpath, with no module-path element.
         *
         * @param scopeFilter a filter returning {@code true} for the artifact scopes to accept.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

            if (result == 0) {
              return count(getElement());
            } else {
              return result;
            }
          }
        };
      }
    
      /** Returns the first node in the tree that is in range. */
      @CheckForNull
      private AvlNode<E> firstNode() {
        AvlNode<E> root = rootReference.get();
        if (root == null) {
          return null;
        }
        AvlNode<E> node;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
Back to top