- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for Wadler (0.14 sec)
-
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private final Adder adder; FailsToForwardReturnValue(Adder adder) { this.adder = adder; } @Override public int add(int a, int b) { return adder.add(a, b) + 1; } @Override public String toString() { return adder.toString(); } } private static class FailsToPropagateException implements Adder {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is * reached, the proxy will attempt to abort the call to the target, and will throw an {@link * UncheckedTimeoutException} to the caller. * * <p>It is important to note that the primary purpose of the proxy object is to return control to
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) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
eventBus.post(EVENT); assertEquals("Cause should be available.", exception, handler.exception); assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus()); assertEquals("Event should be available.", EVENT, handler.context.getEvent()); assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.",
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
eventBus.post(EVENT); assertEquals("Cause should be available.", exception, handler.exception); assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus()); assertEquals("Event should be available.", EVENT, handler.context.getEvent()); assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.",
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java
* A builder for creating immutable type-to-instance maps. Example: * * <pre>{@code * static final ImmutableTypeToInstanceMap<Handler<?>> HANDLERS = * ImmutableTypeToInstanceMap.<Handler<?>>builder() * .put(new TypeToken<Handler<Foo>>() {}, new FooHandler()) * .put(new TypeToken<Handler<Bar>>() {}, new SubBarHandler()) * .build(); * }</pre> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 01 20:46:24 GMT 2022 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
} }; return newProxy(interfaceType, handler); } // TODO: replace with version in common.reflect if and when it's open-sourced private static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) { Object object = Proxy.newProxyInstance( interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler); return interfaceType.cast(object); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 27 14:21:11 GMT 2023 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
SerializableTester.reserialize(newDelegatingListWithEquals(LIST1))) .addEqualityGroup( newDelegatingListWithEquals(LIST2), newProxyWithSubHandler1(LIST2), // Makes sure type of handler doesn't affect equality newProxyWithSubHandler2(LIST2)) .addEqualityGroup(newDelegatingIterableWithEquals(LIST2)) // different interface .testEquals(); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* ParametricNullness parametric nullness}. Sometimes, code may receive a null {@code T} but store * a "null sentinel" to take its place. When the time comes to convert it back to a {@code T} to * return to a caller, the code needs to a way to return {@code null} from a method that returns * "plain {@code T}." This API provides that. */ @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"})
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 10 20:36:34 GMT 2022 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
if (isSatisfied(guard)) { guard.condition.signal(); break; } } } /** * Exactly like signalNextWaiter, but caller guarantees that guardToSkip need not be considered, * because caller has previously checked that guardToSkip.isSatisfied() returned false. An * optimization for the case that guardToSkip.isSatisfied() may be expensive. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 18:22:01 GMT 2023 - 38.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* @since 14.0 */ public static HashFunction adler32() { return ChecksumType.ADLER_32.hashFunction; } @Immutable enum ChecksumType implements ImmutableSupplier<Checksum> { CRC_32("Hashing.crc32()") { @Override public Checksum get() { return new CRC32(); } }, ADLER_32("Hashing.adler32()") { @Override public Checksum get() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0)