Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for groot (0.15 sec)

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

          @Override
          long treeAggregate(@CheckForNull AvlNode<?> root) {
            return (root == null) ? 0 : root.totalCount;
          }
        },
        DISTINCT {
          @Override
          int nodeAggregate(AvlNode<?> node) {
            return 1;
          }
    
          @Override
          long treeAggregate(@CheckForNull AvlNode<?> root) {
            return (root == null) ? 0 : root.distinctElements;
          }
        };
    
    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)
  2. .github/workflows/ci.yml

        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
            os: [ ubuntu-latest ]
            java: [ 8, 11, 17, 21 ]
            root-pom: [ 'pom.xml', 'android/pom.xml' ]
            include:
              - os: windows-latest
                java: 21
                root-pom: pom.xml
        runs-on: ${{ matrix.os }}
        env:
          ROOT_POM: ${{ matrix.root-pom }}
        steps:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>to be replaced with the more compact
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   checkArgument(value >= 0, "input is negative: %s", value);
     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>so that a hypothetical bad caller of this method, such as:
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
          remainingNanos = endNanos - System.nanoTime();
        }
    
        String futureToString = toString();
        final String unitString = unit.toString().toLowerCase(Locale.ROOT);
        String message = "Waited " + timeout + " " + unit.toString().toLowerCase(Locale.ROOT);
        // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise
        if (remainingNanos + SPIN_THRESHOLD_NANOS < 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            Joiner.on(":")
                .join(
                    "relative/path/to/some.jar",
                    "/absolute/path/to/some.jar",
                    "relative/path/to/class/root",
                    "/absolute/path/to/class/root"));
        try {
          ImmutableList<URL> urls = ClassPath.parseJavaClassPath();
    
          assertThat(urls.get(0).getProtocol()).isEqualTo("file");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Platform.java

         */
        return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get()));
      }
    
      static String formatCompact4Digits(double value) {
        return String.format(Locale.ROOT, "%.4g", value);
      }
    
      static boolean stringIsNullOrEmpty(@CheckForNull String string) {
        return string == null || string.isEmpty();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeTraverser.java

      @Deprecated
      public final FluentIterable<T> preOrderTraversal(final T root) {
        checkNotNull(root);
        return new FluentIterable<T>() {
          @Override
          public UnmodifiableIterator<T> iterator() {
            return preOrderIterator(root);
          }
        };
      }
    
      UnmodifiableIterator<T> preOrderIterator(T root) {
        return new PreOrderIterator(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)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *       block or a {@link ListenableFuture}.
     *   <li>Each other step is derived from one or more input steps. At each step, zero or more objects
     *       can be captured for later closing.
     *   <li>There is one last step (the root of the tree), from which you can extract the final result
     *       of the computation. After that result is available (or the computation fails), all objects
     *       captured by any of the steps in the pipeline are closed.
     * </ol>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
Back to top