- Sort Score
- Num 10 results
- Language All
Results 961 - 970 of 8,784 for KClass (0.04 seconds)
-
guava/src/com/google/common/collect/EnumHashBiMap.java
* * @author Mike Bostock * @since 2.0 */ @GwtCompatible @J2ktIncompatible public final class EnumHashBiMap<K extends Enum<K>, V extends @Nullable Object> extends AbstractBiMap<K, V> { transient Class<K> keyTypeOrObjectUnderJ2cl; /** * Returns a new, empty {@code EnumHashBiMap} using the specified key type. * * @param keyType the key type */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
options.numOfThreads = 1; options.cleanup = false; // Setup mock components setupMockComponents(); Method processMethod = ThumbnailGenerator.class.getDeclaredMethod("process", ThumbnailGenerator.Options.class); processMethod.setAccessible(true); try { Integer result = (Integer) processMethod.invoke(null, options); assertNotNull(result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K 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) -
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
assertThrows( NullPointerException.class, () -> builder.put(immutableCell((Character) null, 1, "foo"))); assertThrows( NullPointerException.class, () -> builder.put(immutableCell('a', (Integer) null, "foo"))); assertThrows( NullPointerException.class, () -> builder.put(immutableCell('a', 1, (String) null))); } private static class StringHolder { @Nullable String string; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Parameter.java
public Invokable<?, ?> getDeclaringInvokable() { return declaration; } @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return getAnnotation(annotationType) != null; } @Override public <A extends Annotation> @Nullable A getAnnotation(Class<A> annotationType) { checkNotNull(annotationType); for (Annotation annotation : annotations) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
import jcifs.dcerpc.DcerpcMessage; @DisplayName("MsrpcSamrConnect2 Tests") public class MsrpcSamrConnect2Test { private SamrPolicyHandle mockPolicyHandle; private String testServer; private int testAccess; @BeforeEach void setUp() { mockPolicyHandle = mock(SamrPolicyHandle.class); testServer = "testServer"; testAccess = 0x02000000; // SAM_SERVER_CONNECT access rightCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
/** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static final class SomeError extends Error {} static final class SomeCheckedException extends Exception {} static final class SomeOtherCheckedException extends Exception {} static final class YetAnotherCheckedException extends Exception {} static final class SomeUncheckedException extends RuntimeException {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TestExceptions.java
@GwtCompatible @NullUnmarked final class TestExceptions { static class SomeError extends Error {} static class SomeCheckedException extends Exception {} static class SomeOtherCheckedException extends Exception {} static class YetAnotherCheckedException extends Exception {} static class SomeUncheckedException extends RuntimeException {} static class SomeChainingException extends RuntimeException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0)