- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for substitute (0.26 sec)
-
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 May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)