- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 2,224 for methods_ (0.27 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
try { new NullPointerTester().testMethod(bar, method); } catch (AssertionError incorrectError) { String errorMessage = rootLocaleFormat("Should not have flagged method %s for %s", method.getName(), bar); assertWithMessage(errorMessage).that(incorrectError).isNull(); } } public void verifyBarFail(Method method, TwoArg bar) { try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java
public MetadataXpp3Writer() { delegate = new MetadataStaxWriter(); } /** * Method setFileComment. * * @param fileComment a fileComment object. */ public void setFileComment(String fileComment) { delegate.setFileComment(fileComment); } /** * Method write. * * @param writer a writer object * @param metadata a Metadata object
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
} // Test annotation on method @Test public void test_annotationOnMethod() throws Exception { final Method method = CustomSizeTest.class.getMethod("testMethod"); final CustomSize annotation = method.getAnnotation(CustomSize.class); assertNotNull(annotation, "Annotation should be present on method"); assertEquals("minKey should match", "method.min", annotation.minKey());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicates.java
* * <p>This method can technically accept any {@code Collection<?>}, but using a typed collection * helps prevent bugs. This approach doesn't block any potential users since it is always possible * to use {@code Predicates.<Object>in()}. * * <p>You may prefer to use a method reference (e.g., {@code target::contains}) instead of this * method. However, there are some subtle considerations: *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
* implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The * method {@link #cleanUp} is a no-op. All other methods throw an {@link * UnsupportedOperationException}. * * @author Charles FryCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
} /** * Tests that bridge methods are not subscribed to events. In Java 8, annotations are included on * the bridge method in addition to the original method, which causes both the original and bridge * methods to be subscribed (since both are annotated @Subscribe) without specifically checking * for bridge methods. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
} /** * Tests that bridge methods are not subscribed to events. In Java 8, annotations are included on * the bridge method in addition to the original method, which causes both the original and bridge * methods to be subscribed (since both are annotated @Subscribe) without specifically checking * for bridge methods. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Preconditions.java
import org.jspecify.annotations.Nullable; /** * Static convenience methods that help a method or constructor check whether it was invoked * correctly (that is, whether its <i>preconditions</i> were met). * * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception * of a specified type, which helps the method in which the exception was thrown communicate that
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
} /** * Creates an {@link ExecutorService} whose {@code submit} and {@code invokeAll} methods submit * {@link ListenableFutureTask} instances to the given delegate executor. Those methods, as well * as {@code execute} and {@code invokeAny}, are implemented in terms of calls to {@code * delegate.execute}. All other methods are forwarded unchanged to the delegate. This implies thatCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
String testString = "abcde"; // The check method should return the same string instance String result = pacString.check(testString); assertSame(testString, result, "The check method should return the original string on success."); } /** * Tests the {@link PacUnicodeString#check(String)} method with a null string when the pointer is zero.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0)