- Sort Score
- Result 10 results
- Languages All
Results 1301 - 1310 of 2,321 for methods (0.05 sec)
-
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
/** * This class provides a skeletal implementation of the {@code Iterator} interface for sequences * whose next element can always be derived from the previous element. Null elements are not * supported, nor is the {@link #remove()} method. * * <p>Example: * * {@snippet : * Iterator<Integer> powersOfTwo = * new AbstractSequentialIterator<Integer>(1) { * protected Integer computeNext(Integer previous) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import org.junit.Test; /** * @author wyukawa * */ public class CollectionsUtilTest { /** * Test method for * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)} * . */ @Test public void testIsEmptyCollectionOfQ() { Collection<String> c = null;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
// The getEntries method returns FileEntry objects. We can check their names. assertEquals("\\domain\share1", entries[0].getName(), "The name of the first share should be correct."); assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct."); } /** * Test the getEntries() method when the DfsEnumArray200 is empty.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java
* <p> * Note: only one, this method or {@link #getRecommendedVersion()} method must return non-{@code null} value. */ @Nullable VersionRange getVersionRange(); /** * Returns the recommended version of this constraint, or {@code null} if none. * <p> * Note: only one, this method or {@link #getVersionRange()} method must return non-{@code null} value. */ @Nullable
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
} /** * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getPutAllNullKeyUnsupportedMethod() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
Type3Message type3 = new Type3Message(createMockContext(), type2, null, password, domain, username, workstation, flags); // Then assertNotNull(type3); // Note: // Note: getType() method does not exist method does not exist in Type3Message assertEquals(domain, type3.getDomain()); assertEquals(username, type3.getUser()); assertEquals(workstation, type3.getWorkstation()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
logger.log("--> END ${request.method}") } else if (bodyHasUnknownEncoding(request.headers)) { logger.log("--> END ${request.method} (encoded body omitted)") } else if (requestBody.isDuplex()) { logger.log("--> END ${request.method} (duplex request body omitted)") } else if (requestBody.isOneShot()) { logger.log("--> END ${request.method} (one-shot body omitted)") } else {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
// This method is empty, so it should return 0 SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir"); byte[] buffer = new byte[10]; int result = smbCom.readParameterWordsWireFormat(buffer, 0); assertEquals(0, result); } @Test void testReadBytesWireFormat() { // This method is empty, so it should return 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
import com.google.common.collect.testing.features.MapFeature; import java.lang.reflect.Method; import java.util.List; import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a map. Can't be invoked directly; please see {@link * com.google.common.collect.testing.MapTestSuiteBuilder}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
DelegatingInvocationHandler(Object delegate) { this.delegate = checkNotNull(delegate); } @Override protected Object handleInvocation(Object proxy, Method method, Object[] args) throws Throwable { return method.invoke(delegate, args); } @Override public String toString() { return "some arbitrary string"; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.7K bytes - Viewed (0)