- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 2,816 for methods_ (1.1 seconds)
-
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) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
// Verify required methods exist try { CustomSizeValidator.class.getMethod("initialize", CustomSize.class); CustomSizeValidator.class.getMethod("isValid", CharSequence.class, ConstraintValidatorContext.class); assertTrue("Required methods exist", true); } catch (final NoSuchMethodException e) { fail("Required methods should exist: " + e.getMessage()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* method provides a {@link Set} implementation corresponding to any {@link Map} implementation. * There is no need to use this method on a {@link Map} implementation that already has a * corresponding {@link Set} implementation (such as {@link java.util.HashMap} or {@link * java.util.TreeMap}). * * <p>Each method invocation on the set returned by this method results in exactly one methodCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharStreams.java
* * <p><b>Java 11+ users:</b> use {@link Writer#nullWriter()} instead. Note that the {@link * CharStreams} method returns a singleton writer whose {@code close} method has no effect, while * the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the * instance is {@link Writer#close() closed}. * * @since 15.0 */ public static Writer nullWriter() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* fragile because they assume that only certain methods will be called and because they often * implement subtleties of the API improperly. * * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you * can't get by with the standard implementations, prefer to derive a new {@code Future} instance * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* methods ensure that the {@code WrappedCollection} and map remain consistent. * * <p>A subcollection, such as a sublist, contains some of the values for a given key. Its * ancestor field points to the full wrapped collection with all values for the key. The * subcollection {@code refreshIfEmpty}, {@code removeIfEmpty}, and {@code addToMap} methods callCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0)