Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for children (0.17 sec)

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

        checkNotNull(nodeToChildrenFunction);
        return new TreeTraverser<T>() {
          @Override
          public Iterable<T> children(T root) {
            return nodeToChildrenFunction.apply(root);
          }
        };
      }
    
      /** Returns the children of the specified node. Must not contain null. */
      public abstract Iterable<T> children(T root);
    
      /**
    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)
  2. android/guava-tests/test/com/google/common/collect/TreeTraverserTest.java

        final List<Tree> children;
    
        public Tree(char value, Tree... children) {
          super(value);
          this.children = Arrays.asList(children);
        }
      }
    
      private static final TreeTraverser<Tree> ADAPTER =
          new TreeTraverser<Tree>() {
            @Override
            public Iterable<Tree> children(Tree node) {
              return node.children;
            }
          };
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

        final List<Tree> children;
    
        public Tree(char value, Tree... children) {
          super(value);
          this.children = Arrays.asList(children);
        }
      }
    
      private static final TreeTraverser<Tree> ADAPTER =
          new TreeTraverser<Tree>() {
            @Override
            public Iterable<Tree> children(Tree node) {
              return node.children;
            }
          };
    
    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)
  4. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

      }
    
      private static final TreeTraverser<BinaryNode> VIEWER =
          new TreeTraverser<BinaryNode>() {
            @Override
            public Iterable<BinaryNode> children(BinaryNode root) {
              return Optional.presentInstances(ImmutableList.of(root.left, root.right));
            }
          };
    
      enum Traversal {
        PRE_ORDER {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  5. android/pom.xml

                       JDK6-like APIs.
    
                       So instead, we use javac9, which doesn't lead to this error.
                  -->
                  <compilerArgs combine.children="append">
                    <arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</arg>
                  </compilerArgs>
                </configuration>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. android/guava/pom.xml

      <build>
        <resources>
          <resource>
            <directory>..</directory>
            <includes>
              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

        idx++;
    
        if (c != '?' && c != ',') {
          while (idx < encodedLen) {
            // Read all the children
            idx += doParseTrieToBuilder(stack, encoded, idx, builder);
    
            if (encoded.charAt(idx) == '?' || encoded.charAt(idx) == ',') {
              // An extra '?' or ',' after a child node indicates the end of all children of this node.
              idx++;
              break;
            }
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    Alice was not going to do THAT in a hurry.  `No, I'll look
    first,' she said, `and see whether it's marked "poison" or not';
    for she had read several nice little histories about children who
    had got burnt, and eaten up by wild beasts and other unpleasant
    things, all because they WOULD not remember the simple rules
    their friends had taught them:  such as, that a red-hot poker
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

      }
    
      private static final TreeTraverser<BinaryNode> VIEWER =
          new TreeTraverser<BinaryNode>() {
            @Override
            public Iterable<BinaryNode> children(BinaryNode root) {
              return Optional.presentInstances(ImmutableList.of(root.left, root.right));
            }
          };
    
      enum Traversal {
        PRE_ORDER {
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  10. guava/pom.xml

      <build>
        <resources>
          <resource>
            <directory>..</directory>
            <includes>
              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top