Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for substitute (0.25 sec)

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

       * object behaves appropriately when its thread is interrupted.
       *
       * <p>For example, to return the value of {@code target.someMethod()}, but substitute {@code
       * DEFAULT_VALUE} if this method call takes over 50 ms, you can use this code:
       *
       * <pre>
       *   TimeLimiter limiter = . . .;
       *   TargetType proxy = limiter.newProxy(
    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/base/Ascii.java

       * physical end of the medium.)
       *
       * @since 8.0
       */
      public static final byte EM = 25;
    
      /**
       * Substitute: A character that may be substituted for a character which is determined to be
       * invalid or in error.
       *
       * @since 8.0
       */
      public static final byte SUB = 26;
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertNull(map.put(one, two));
    
        assertThat(map).containsEntry(three, one);
        assertThat(map).containsEntry(one, two);
    
        // TODO(cgruber): Confirm with fry@ that this is a reasonable substitute.
        // Set<Entry<Object, Object>> entries = map.entrySet();
        // assertThat(entries).containsExactly(
        //    Maps.immutableEntry(three, one), Maps.immutableEntry(one, two));
        // Set<Object> keys = map.keySet();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  4. 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)
  5. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeToken.java

       *       .where(new TypeParameter<V>() {}, valueType);
       * }
       * }</pre>
       *
       * @param <X> The parameter type
       * @param typeParam the parameter type variable
       * @param typeArg the actual type to substitute
       */
      /*
       * TODO(cpovirk): Is there any way for us to support TypeParameter instances for type parameters
       * that have nullable bounds? Unfortunately, if we change the parameter to TypeParameter<? extends
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertNull(map.put(one, two));
    
        assertThat(map).containsEntry(three, one);
        assertThat(map).containsEntry(one, two);
    
        // TODO(cgruber): Confirm with fry@ that this is a reasonable substitute.
        // Set<Entry<Object, Object>> entries = map.entrySet();
        // assertThat(entries).containsExactly(
        //    Maps.immutableEntry(three, one), Maps.immutableEntry(one, two));
        // Set<Object> keys = map.keySet();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Ascii.java

       * physical end of the medium.)
       *
       * @since 8.0
       */
      public static final byte EM = 25;
    
      /**
       * Substitute: A character that may be substituted for a character which is determined to be
       * invalid or in error.
       *
       * @since 8.0
       */
      public static final byte SUB = 26;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        ImmutableList<Service> copy = ImmutableList.copyOf(services);
        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"
    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. android/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 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
Back to top