Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for placeholder (0.58 sec)

  1. guava/src/com/google/common/base/Strings.java

       * Preconditions} class use this formatter, for both of the reasons just discussed.
       *
       * <p><b>Warning:</b> Only the exact two-character placeholder sequence {@code "%s"} is
       * recognized.
       *
       * @param template a string containing zero or more {@code "%s"} placeholder sequences. {@code
       *     null} is treated as 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)
  2. android/guava/src/com/google/common/base/Strings.java

       * Preconditions} class use this formatter, for both of the reasons just discussed.
       *
       * <p><b>Warning:</b> Only the exact two-character placeholder sequence {@code "%s"} is
       * recognized.
       *
       * @param template a string containing zero or more {@code "%s"} placeholder sequences. {@code
       *     null} is treated as the four-character string {@code "null"}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      /** Format the template with args, only supports the placeholder {@code %s}. */
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      /** See {@link ListListIteratorTester} */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
    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)
  5. guava/src/com/google/common/base/Verify.java

       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MoreCollectors.java

        return (Collector) TO_OPTIONAL;
      }
    
      private static final Object NULL_PLACEHOLDER = new Object();
    
      private static final Collector<@Nullable Object, ?, @Nullable Object> ONLY_ELEMENT =
          Collector.<@Nullable Object, ToOptionalState, @Nullable Object>of(
              ToOptionalState::new,
              (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o),
              ToOptionalState::combine,
              state -> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      /** Format the template with args, only supports the placeholder {@code %s}. */
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      /** See {@link ListListIteratorTester} */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Verify.java

       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        if (copy.isEmpty()) {
          // Having no services causes the manager to behave strangely. Notably, listeners are never
          // fired. To avoid this we substitute a placeholder service.
          logger
              .get()
              .log(
                  Level.WARNING,
                  "ServiceManager configured with no services.  Is your application configured"
                      + " properly?",
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Preconditions.java

       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
       *     errorMessageArgs[0]}, etc. Unmatched arguments will be appended to the formatted message in
       *     square braces. Unmatched placeholders will be left as-is.
    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