- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 299 for Supplier (0.42 sec)
-
guava/src/com/google/common/base/Supplier.java
/** * Legacy version of {@link java.util.function.Supplier java.util.function.Supplier}. Semantically, * this could be a factory, generator, builder, closure, or something else entirely. No guarantees * are implied by this interface. * * <p>The {@link Suppliers} class provides common suppliers and related utilities. * * <p>As this interface extends {@code java.util.function.Supplier}, an instance of this type can be
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Oct 20 14:12:57 UTC 2022 - 1.9K bytes - Viewed (0) -
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 @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 15 12:15:07 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
} private static class SupplierComposition<F extends @Nullable Object, T extends @Nullable Object> implements Supplier<T>, Serializable { final Function<? super F, T> function; final Supplier<F> supplier; SupplierComposition(Function<? super F, T> function, Supplier<F> supplier) { this.function = checkNotNull(function); this.supplier = checkNotNull(supplier); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
} private static class SupplierComposition<F extends @Nullable Object, T extends @Nullable Object> implements Supplier<T>, Serializable { final Function<? super F, T> function; final Supplier<F> supplier; SupplierComposition(Function<? super F, T> function, Supplier<F> supplier) { this.function = checkNotNull(function); this.supplier = checkNotNull(supplier); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/SupplierCodecTest.kt
import org.junit.Test import java.util.function.Supplier class SupplierCodecTest : AbstractFunctionalTypeTest() { @Test fun `defers evaluation of Supplier objects`() { assertDeferredEvaluationOf(supplier()) { get() } } @Test fun `defers evaluation of dynamic Supplier fields`() { assertDeferredEvaluationOf(BeanOf(supplier())) { value.get() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
public int hashCode() { return hash; } } static class CachingSupplier<T> implements Supplier<T> { final Supplier<T> supplier; volatile Object value; CachingSupplier(Supplier<T> supplier) { this.supplier = supplier; } @Override @SuppressWarnings({"unchecked", "checkstyle:InnerAssignment"}) public T get() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/graph/InvalidatableSet.java
private final Supplier<Boolean> validator; private final Set<E> delegate; private final Supplier<String> errorMessage; public static final <E> InvalidatableSet<E> of( Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) { return new InvalidatableSet<>( checkNotNull(delegate), checkNotNull(validator), checkNotNull(errorMessage)); } @Override protected Set<E> delegate() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 1.8K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/Binding.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 5.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 5.4K bytes - Viewed (0)