Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for rmtree (0.38 sec)

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

      static final Tree c = new Tree('c');
      static final Tree d = new Tree('d', a, b, c);
      static final Tree e = new Tree('e');
      static final Tree f = new Tree('f');
      static final Tree g = new Tree('g', f);
      static final Tree h = new Tree('h', d, e, g);
    
      static String iterationOrder(Iterable<? extends Node> iterable) {
        StringBuilder builder = new StringBuilder();
        for (Node t : iterable) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.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/graph/TraverserTest.java

      @Test
      public void forGraph_breadthFirst_tree() throws Exception {
        Traverser<Character> traverser = Traverser.forGraph(TREE);
    
        assertEqualCharNodes(traverser.breadthFirst('h'), "hdegabcf");
        assertEqualCharNodes(traverser.breadthFirst('d'), "dabc");
        assertEqualCharNodes(traverser.breadthFirst('a'), "a");
      }
    
      @Test
      public void forGraph_breadthFirstIterable_tree() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/graph/Traverser.java

      public static <N> Traverser<N> forTree(SuccessorsFunction<N> tree) {
        if (tree instanceof BaseGraph) {
          checkArgument(((BaseGraph<?>) tree).isDirected(), "Undirected graphs can never be trees.");
        }
        if (tree instanceof Network) {
          checkArgument(((Network<?, ?>) tree).isDirected(), "Undirected networks can never be trees.");
        }
        return new Traverser<N>(tree) {
          @Override
          Traversal<N> newTraversal() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  7. 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)
  8. README.md

        [the Android flavor](https://github.com/google/guava/wiki/Android). You can
        find the Android Guava source in the [`android` directory].
    
    [`android` directory]: https://github.com/google/guava/tree/master/android
    
    ## Adding Guava to your build
    
    Guava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.
    Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

       *       </ul>
       *   <li>another java.util.Set delegate implementation. In most modern JDKs, normal java.util hash
       *       collections intelligently fall back to a binary search tree if hash table collisions are
       *       detected. Rather than going to all the trouble of reimplementing this ourselves, we
       *       simply switch over to use the JDK implementation wholesale if probable hash flooding is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. 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)
Back to top