- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 162 for supplier (0.69 seconds)
-
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> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jun 19 17:20:48 GMT 2025 - 3K bytes - Click Count (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 @FunctionalInterfaceCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jun 19 17:20:48 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java
@Override public void debug(Throwable error) { logger.debug("", error); } @Override public void debug(Supplier<String> content) { if (isDebugEnabled()) { logger.debug(content.get()); } } @Override public void debug(Supplier<String> content, Throwable error) { if (isDebugEnabled()) { logger.debug(content.get(), error); } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.6K bytes - Click Count (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. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LongAddables.java
package com.google.common.hash; 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 */ final class LongAddables { private static final Supplier<LongAddable> SUPPLIER; static { Supplier<LongAddable> supplier; try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
/** * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and * implement {@link #load load} instead. * * <p>The returned object is serializable if {@code supplier} is serializable. * * @param supplier the supplier to be used for loading values; must never return {@code null}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt
} private fun hasConstructorAttribute(constructorsSupplier: Supplier<MutableList<KmConstructor>>, jvmSignature: String, predicate: AttributePredicate) = constructorsSupplier.get().firstOrNull { c -> jvmSignature == c.signature?.toString() }?.let { predicate.match(it) } ?: false private fun hasFunctionAttribute(functionsSupplier: Supplier<MutableList<KmFunction>>, jvmSignature: String, predicate: AttributePredicate) =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jul 04 09:21:38 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
} private static void assertChecksum(ImmutableSupplier<Checksum> supplier, String input) { byte[] bytes = HashTestUtils.ascii(input); Checksum checksum = supplier.get(); checksum.update(bytes, 0, bytes.length); long value = checksum.getValue(); String toString = "name"; HashFunction func = new ChecksumHashFunction(supplier, 32, toString); assertThat(func.toString()).isEqualTo(toString);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.3K bytes - Click Count (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 {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 2K bytes - Click Count (0)