- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 108 for Supplier (0.03 sec)
-
android/guava/src/com/google/common/base/Supplier.java
* future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code * java.util.function.Supplier}, making conversion code necessary only in one direction. At that * time, this interface will be officially discouraged. * * @author Harry Heymann * @since 2.0 */ @GwtCompatible public interface Supplier<T extends @Nullable Object> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jun 19 17:20:48 UTC 2025 - 3K bytes - Viewed (0) -
guava/src/com/google/common/base/Supplier.java
* java.util.function.Supplier} in a context where a {@code com.google.common.base.Supplier} is * needed, use {@code supplier::get}. * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>. * * @author Harry Heymann * @since 2.0 */ @GwtCompatible @FunctionalInterface
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jun 19 17:20:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
* @param key the key name * @param supplier the value supplier * @return the updated buffer */ protected StringBuilder append(final StringBuilder buf, final String key, final Supplier<Object> supplier) { final StringBuilder tempBuf = new StringBuilder(); tempBuf.append('"').append(key).append("\":"); try { final Object value = supplier.get(); if (value == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
@Nullable Object get() throws Throwable; } @CanIgnoreReturnValue static <T extends Throwable> T assertThrows( Class<T> expectedThrowable, ThrowingSupplier supplier) { return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true); } @CanIgnoreReturnValue static <T extends Throwable> T assertThrows( Class<T> expectedThrowable, ThrowingRunnable runnable) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LongAddables.java
import com.google.common.base.Supplier; import java.util.concurrent.atomic.AtomicLong; /** * Source of {@link LongAddable} objects that deals with GWT, Unsafe, and all that. * * @author Louis Wasserman */ @GwtCompatible final class LongAddables { private static final Supplier<LongAddable> SUPPLIER; static { Supplier<LongAddable> supplier; try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java
/** * Create the access context. * @param resource The access context resource. * @param userTypeSupplier The supplier of user type. * @param userBeanSupplier The supplier of user bean. * @param appTypeSupplier The supplier of application type. * @return The access context. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
import com.google.common.base.Supplier; import com.google.common.collect.ForwardingSet; import java.util.Set; /** * A subclass of `ForwardingSet` that throws `IllegalStateException` on invocation of any method * (except `hashCode` and `equals`) if the provided `Supplier` returns false. */ final class InvalidatableSet<E> extends ForwardingSet<E> { private final Supplier<Boolean> validator; private final Set<E> delegate;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
* @param supplier The function to execute and cache the result * @return The result from the supplier (either fresh or cached) * @throws RuntimeException Any exception thrown by the supplier will be cached and re-thrown on subsequent calls */ <REQ extends Request<?>, REP extends Result<REQ>> REP request(REQ req, Function<REQ, REP> supplier); /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
return defaultLocaleSupplier.get(); } return Locale.ENGLISH; } /** * Sets the default locale supplier. * * @param localeSupplier * the supplier for the default locale */ public static void setDefault(final Supplier<Locale> localeSupplier) { defaultLocaleSupplier = localeSupplier; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/ActionResponseCredential.java
*/ package org.codelibs.fess.app.web.base.login; import java.util.function.Supplier; import org.lastaflute.web.login.credential.LoginCredential; import org.lastaflute.web.response.ActionResponse; /** * The credential for action response. */ public class ActionResponseCredential implements LoginCredential { private final Supplier<ActionResponse> action; /** * Constructor.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.3K bytes - Viewed (0)