- Sort Score
- Num 10 results
- Language All
Results 921 - 930 of 8,784 for KClass (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
assertThrows( ConcurrentModificationException.class, () -> { Iterator<V> iterator = getMap().values().iterator(); put(e3()); iterator.next(); }); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testPut_unsupportedNotPresent() { assertThrows(UnsupportedOperationException.class, () -> put(e3())); expectUnchanged();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/FieldNotFoundRuntimeException.java
/** * Exception thrown when a {@link Field} cannot be found. * * @author higa * */ public class FieldNotFoundRuntimeException extends ClRuntimeException { private static final long serialVersionUID = -2715036865146285893L; /** * The target class. */ private final Class<?> targetClass; /** * The name of the field. */ private final String fieldName;Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp-tls/api/okhttp-tls.api
public final class okhttp3/tls/Certificates { public static final fun certificatePem (Ljava/security/cert/X509Certificate;)Ljava/lang/String; public static final fun decodeCertificatePem (Ljava/lang/String;)Ljava/security/cert/X509Certificate; } public final class okhttp3/tls/HandshakeCertificates { public final fun -deprecated_keyManager ()Ljavax/net/ssl/X509KeyManager; public final fun -deprecated_trustManager ()Ljavax/net/ssl/X509TrustManager;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 26 19:17:33 GMT 2022 - 3.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero); // since the putIfAbsent returned a zero, we'll try to replace... when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false); // ...and then putIfAbsent. Simulate failure on both when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existing); // next map.get()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingObject.java
* * <p>The {@code toString} method is forwarded to the delegate. Although this class does not * implement {@link Serializable}, a serializable subclass may be created since this class has a * parameter-less constructor. * * @author Mike Bostock * @since 2.0 */ @GwtCompatible public abstract class ForwardingObject { /** Constructor for use by subclasses. */ protected ForwardingObject() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
response.body.close() listener.removeUpToEvent(ConnectionEvent.ConnectEnd::class.java) listener.removeUpToEvent(ConnectionEvent.ConnectionReleased::class.java) listener.removeUpToEvent(ConnectionEvent.ConnectionAcquired::class.java) listener.removeUpToEvent(ConnectionEvent.ConnectionReleased::class.java) } @Test @Throws(IOException::class) fun successfulConnect() { server.enqueue(MockResponse())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacTest.java
// Any PACDecodingException is acceptable for this test assertNotNull(e.getMessage()); } @Test void testTooSmallPac() { // Test that PAC smaller than 8 bytes is rejected byte[] smallData = new byte[4]; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(smallData, keys));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaPlugin.java
* common configuration for production code. */ public class ElasticsearchJavaPlugin implements Plugin<Project> { @Override public void apply(Project project) { project.getPluginManager().apply(ElasticsearchJavaBasePlugin.class); project.getPluginManager().apply(JavaLibraryPlugin.class); // configureConfigurations(project); configureJars(project);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 16:04:42 GMT 2021 - 7.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance()); assertThrows( IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance()); assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance()); assertThrows( IllegalStateException.class,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 23.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java
* <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.lang.ClassLoaderIterator.*; * * ClassLoader classLoader = ...; * for (ClassLoader loader : iterable(classLoader)) { * ... * } * </pre> * * @author koichik */ public class ClassLoaderIterator implements Iterator<ClassLoader> {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.5K bytes - Click Count (0)