Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for substitute (0.2 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/collect/Sets.java

     * @author Chris Povirk
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Sets {
      private Sets() {}
    
      /**
       * {@link AbstractSet} substitute without the potentially-quadratic {@code removeAll}
       * implementation.
       */
      abstract static class ImprovedAbstractSet<E extends @Nullable Object> extends AbstractSet<E> {
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 77.2K bytes
    - Viewed (0)
  7. 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)
  8. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/DES.java

    // ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
    // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  10. 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)
Back to top