- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 2,952 for method (0.07 seconds)
-
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
} public void testConcreteTypeRejected() { assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {}); } public <A, B> void testEquals() throws Exception { Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); new EqualsTester() .addEqualityGroup(new TypeParameter<A>() {}, new TypeParameter<A>() {}) .addEqualityGroup(new TypeParameter<B>() {})
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
@Test public void test_expiry_validValue() { long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry); // Test method chaining assertSame(purgeThumbnailJob, result); // Test value was set assertEquals(newExpiry, purgeThumbnailJob.getExpiry()); } // Test expiry setter with zero value (should not change)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
* here, too, so that we don't need to also suppress an AndroidApiChecker error. */ Method currentMethod = processHandleClass.getMethod("current"); Method infoMethod = processHandleClass.getMethod("info"); Method userMethod = processHandleInfoClass.getMethod("user"); Method orElseMethod = optionalClass.getMethod("orElse", Object.class); Object current = currentMethod.invoke(null);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
* constructed instance. To create session out of builder, use {@link SessionBuilder#build()}. For proper closing * of sessions, use {@link CloseableSession#close()} method on built instance(s). * <p> * Extend this class and override methods to customize, if needed. * * @since 4.0.0 * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Deprecated(since = "4.0.0")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Mar 28 11:22:05 GMT 2026 - 8.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/FileConfigService.java
*/ @Resource protected FessConfig fessConfig; /** * Retrieves a paginated list of file configurations based on the provided pager criteria. * This method applies search conditions from the pager and updates the pager with * pagination information including page numbers and result counts. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
// idx = 2 -> :method: GET hpackReader!!.readHeaders() assertThat(hpackReader!!.headerCount).isEqualTo(0) assertThat(hpackReader!!.dynamicTableByteCount).isEqualTo(0) assertThat(hpackReader!!.dynamicTable[readerHeaderTableLength() - 1]).isNull() assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo( headerEntries(":method", "GET"), ) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 38.6K bytes - Click Count (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Writer.java
delegate.setAddLocationInformation(false); } /** * Method setFileComment. * * @param fileComment a fileComment object. */ public void setFileComment(String fileComment) { delegate.setFileComment(fileComment); } /** * Method write. * * @param writer a writer object.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat May 31 10:30:45 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
for (Method method : RawTypeConsistencyTester.class.getDeclaredMethods()) { assertEquals( method.getReturnType(), TypeToken.of(method.getGenericReturnType()).getRawType()); for (int i = 0; i < method.getParameterTypes().length; i++) { assertEquals( method.getParameterTypes()[i], TypeToken.of(method.getGenericParameterTypes()[i]).getRawType());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
* * This test class verifies the basic functionality of DirFileEntryAdapterIterator. * Due to the iterator's constructor calling advance() immediately, which requires * the adapt() method to be functional, we test the behavior using simple mock * scenarios that don't require complex filter setups. */ @ExtendWith(MockitoExtension.class) class DirFileEntryAdapterIteratorTest { @Mock
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java
* * @deprecated since 4.0.0 */ @Deprecated(since = "4.0.0") public interface SettingsDecryptionResult { /** * Gets the decrypted server. This is a convenience method to retrieve the first element from {@link #getServers()}. * * @return The decrypted server or {@code null}. */ Server getServer(); /** * Gets the decrypted servers. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0)