- Sort Score
- Num 10 results
- Language All
Results 1021 - 1030 of 8,919 for KClass (0.14 seconds)
-
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) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
try (MockedConstruction<Pac> pacMock = Mockito.mockConstruction(Pac.class, (mock, context) -> { // Setup mock behavior PacLogonInfo mockLogonInfo = Mockito.mock(PacLogonInfo.class); PacSignature mockServerSig = Mockito.mock(PacSignature.class); PacSignature mockKdcSig = Mockito.mock(PacSignature.class); Mockito.when(mock.getLogonInfo()).thenReturn(mockLogonInfo);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
"next() should still return last element after peeking", "C", peekingIterator.next()); assertThrows(NoSuchElementException.class, () -> peekingIterator.peek()); assertThrows(NoSuchElementException.class, () -> peekingIterator.peek()); assertThrows(NoSuchElementException.class, () -> peekingIterator.next()); } public void testCantRemoveAfterPeek() { List<String> list = Lists.newArrayList("A", "B", "C");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Optional.java
* * <p>A common alternative to using this class is to find or create a suitable <a * href="http://en.wikipedia.org/wiki/Null_Object_pattern">null object</a> for the type in question. * * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct * from other programming environments, though it may bear some similarities. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
void testGetResponseLength() throws Exception { // Test getResponseLength method // First, set dataCount using reflection (since setDataCount is in parent class) Method setDataCountMethod = SmbComTransactionResponse.class.getDeclaredMethod("setDataCount", int.class); setDataCountMethod.setAccessible(true); setDataCountMethod.invoke(response, 256); int responseLength = response.getResponseLength();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
* Corresponds to `FLAG_FIN`. */ @Throws(IOException::class) fun newStream( requestHeaders: List<Header>, out: Boolean, ): Http2Stream = newStream(0, requestHeaders, out) @Throws(IOException::class) private fun newStream( associatedStreamId: Int, requestHeaders: List<Header>, out: Boolean, ): Http2Stream {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
} /** * */ @Test public void testCopyMapToNewBean_SrcNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[src] is null.")); BeanUtil.copyMapToNewBean(null, Bean.class); } /** * */ public static class HogeDto {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 34.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertThrows(NoSuchElementException.class, () -> iterator.next()); assertThrows(NoSuchElementException.class, () -> iterator.previous()); assertThrows(UnsupportedOperationException.class, () -> iterator.remove()); assertThrows(UnsupportedOperationException.class, () -> iterator.set("a")); assertThrows(UnsupportedOperationException.class, () -> iterator.add("a")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/BadWordDbm.java
import org.dbflute.dbway.DBDef; import org.dbflute.util.DfTypeUtil; /** * @author ESFlute (using FreeGen) */ public class BadWordDbm extends AbstractDBMeta { protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class; // ===================================================================================
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 10.3K bytes - Click Count (0)