Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for substitute (0.86 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<Map<String, Integer>> reserialized =
            reserialize(new TypeToken<Map<String, Integer>>() {});
        assertEquals(reserialized, substitute(reserialized, String.class));
      }
    
      private static <T, X> TypeToken<T> substitute(TypeToken<T> type, Class<X> arg) {
        return type.where(new TypeParameter<X>() {}, arg);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Strings.java

       *     null} is treated as the four-character string {@code "null"}.
       * @param args the arguments to be substituted into the message template. The first argument
       *     specified is substituted for the first occurrence of {@code "%s"} in the template, and so
       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
       * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
       *     are converted to strings using {@link String#valueOf(Object)}.
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(
    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. guava/src/com/google/common/base/Stopwatch.java

     * <ul>
     *   <li>The raw {@code long} values returned by {@code nanoTime} are meaningless and unsafe to use
     *       in any other way than how {@code Stopwatch} uses them.
     *   <li>An alternative source of nanosecond ticks can be substituted, for example for testing or
     *       performance reasons, without affecting most of your code.
     * </ul>
     *
     * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Stopwatch.java

     * <ul>
     *   <li>The raw {@code long} values returned by {@code nanoTime} are meaningless and unsafe to use
     *       in any other way than how {@code Stopwatch} uses them.
     *   <li>An alternative source of nanosecond ticks can be substituted, for example for testing or
     *       performance reasons, without affecting most of your code.
     * </ul>
     *
     * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Preconditions.java

       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
       * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
       *     are converted to strings using {@link String#valueOf(Object)}.
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top