Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 164 for prea (0.2 sec)

  1. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *
       * <pre>
       *   TimeLimiter limiter = . . .;
       *   TargetType proxy = limiter.newProxy(
       *       target, TargetType.class, 50, TimeUnit.MILLISECONDS);
       *   try {
       *     return proxy.someMethod();
       *   } catch (UncheckedTimeoutException e) {
       *     return DEFAULT_VALUE;
       *   }
       * </pre>
       *
       * @param target the object to proxy
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/Quantiles.java

     *
     * <h3>Examples</h3>
     *
     * <p>To compute the median:
     *
     * <pre>{@code
     * double myMedian = median().compute(myDataset);
     * }</pre>
     *
     * where {@link #median()} has been statically imported.
     *
     * <p>To compute the 99th percentile:
     *
     * <pre>{@code
     * double myPercentile99 = percentiles().index(99).compute(myDataset);
     * }</pre>
     *
     * where {@link #percentiles()} has been statically imported.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     * keys and values. The iteration order is preserved across non-distinct key values. For example,
     * for the following multimap definition:
     *
     * <pre>{@code
     * Multimap<K, V> multimap = LinkedListMultimap.create();
     * multimap.put(key1, foo);
     * multimap.put(key2, bar);
     * multimap.put(key1, baz);
     * }</pre>
     *
     * ... the iteration order for {@link #keys()} is {@code [key1, key2, key1]}, and similarly for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

            @Override
            public Iterable<BinaryNode> children(BinaryNode root) {
              return Optional.presentInstances(ImmutableList.of(root.left, root.right));
            }
          };
    
      enum Traversal {
        PRE_ORDER {
          @Override
          <T> Iterable<T> view(T root, TreeTraverser<T> viewer) {
            return viewer.preOrderTraversal(root);
          }
        },
        POST_ORDER {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

     * its caller has made a mistake. This allows constructs such as
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     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) {
    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)
  6. android/guava/src/com/google/common/base/Ascii.java

       * the sequence will be returned as a string with no changes to the content.
       *
       * <p>Examples:
       *
       * <pre>{@code
       * Ascii.truncate("foobar", 7, "..."); // returns "foobar"
       * Ascii.truncate("foobar", 5, "..."); // returns "fo..."
       * }</pre>
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

       * in {@code occurrencesToRemove}. However, this operation <i>is</i> equivalent to, albeit
       * sometimes more efficient than, the following:
       *
       * <pre>{@code
       * for (E e : occurrencesToRemove) {
       *   multisetToModify.remove(e);
       * }
       * }</pre>
       *
       * @return {@code true} if {@code multisetToModify} was changed as a result of this operation
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultiset.java

       * multisets ("constant multisets"). Example:
       *
       * <pre>{@code
       * public static final ImmutableMultiset<Bean> BEANS =
       *     new ImmutableMultiset.Builder<Bean>()
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }</pre>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Collections2.java

       * Returns a {@link Collection} of all the permutations of the specified {@link Iterable} using
       * the specified {@link Comparator} for establishing the lexicographical ordering.
       *
       * <p>Examples:
       *
       * <pre>{@code
       * for (List<String> perm : orderedPermutations(asList("b", "c", "a"))) {
       *   println(perm);
       * }
       * // -> ["a", "b", "c"]
       * // -> ["a", "c", "b"]
       * // -> ["b", "a", "c"]
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LongMath.java

       * m}, which might be negative.
       *
       * <p>For example:
       *
       * <pre>{@code
       * mod(7, 4) == 3
       * mod(-7, 4) == 1
       * mod(-1, 4) == 3
       * mod(-8, 4) == 0
       * mod(8, 4) == 0
       * }</pre>
       *
       * @throws ArithmeticException if {@code m <= 0}
       * @see <a href="http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.17.3">
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
Back to top