- Sort Score
- Num 10 results
- Language All
Results 1011 - 1020 of 8,919 for KClass (0.06 seconds)
-
android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
// public named classes with a public default constructor. public static final class ShortsAsListGenerator extends TestShortListGenerator { @Override protected List<Short> create(Short[] elements) { return asList(elements); } } public static final class ShortsAsListHeadSubListGenerator extends TestShortListGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java
// public named classes with a public default constructor. public static final class CharsAsListGenerator extends TestCharListGenerator { @Override protected List<Character> create(Character[] elements) { return asList(elements); } } public static final class CharsAsListHeadSubListGenerator extends TestCharListGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
// public named classes with a public default constructor. public static final class ShortsAsListGenerator extends TestShortListGenerator { @Override protected List<Short> create(Short[] elements) { return asList(elements); } } public static final class ShortsAsListHeadSubListGenerator extends TestShortListGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java
// public named classes with a public default constructor. public static final class DoublesAsListGenerator extends TestDoubleListGenerator { @Override protected List<Double> create(Double[] elements) { return asList(elements); } } public static final class DoublesAsListHeadSubListGenerator extends TestDoubleListGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
assertThrows(IllegalArgumentException.class, () -> parse("weakValues=true")); } public void testParse_repeatedValueStrength() { assertThrows(IllegalArgumentException.class, () -> parse("softValues, softValues")); assertThrows(IllegalArgumentException.class, () -> parse("softValues, weakValues")); assertThrows(IllegalArgumentException.class, () -> parse("weakValues, softValues"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 20.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
ListenableFuture<String> chain = buildChainingFuture(badInput); ExecutionException e = assertThrows(ExecutionException.class, chain::get); assertThat(e.getCause()).isInstanceOf(BadFutureRuntimeException.class); } /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */ public static class BadFuture extends SimpleForwardingListenableFuture<Integer> { protected BadFuture(ListenableFuture<Integer> delegate) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
static final Future<String> ERROR_FUTURE = UncheckedThrowingFuture.throwingError(ERROR); public static final class TwoArgConstructorException extends Exception { public TwoArgConstructorException(String message, Throwable cause) { super(message, cause); } } public static final class TwoArgConstructorRuntimeException extends RuntimeException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
ListenableFuture<String> chain = buildChainingFuture(badInput); ExecutionException e = assertThrows(ExecutionException.class, chain::get); assertThat(e.getCause()).isInstanceOf(BadFutureRuntimeException.class); } /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */ public static class BadFuture extends SimpleForwardingListenableFuture<Integer> { protected BadFuture(ListenableFuture<Integer> delegate) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
@NullUnmarked @GwtIncompatible @J2ktIncompatible public class JdkFutureAdaptersTest extends TestCase { private static final String DATA1 = "data"; public void testListenInPoolThreadReturnsSameFuture() throws Exception { ListenableFuture<String> listenableFuture = immediateFuture(DATA1); assertThat(listenInPoolThread(listenableFuture)).isSameInstanceAs(listenableFuture); } private static class SingleCallListener implements Runnable {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
} // 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); } @ParametricNullness
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 9.6K bytes - Click Count (0)