- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 274 for Supplier (0.1 sec)
-
guava/src/com/google/common/util/concurrent/Callables.java
* * @param callable The callable to wrap * @param nameSupplier The supplier of thread names, {@link Supplier#get get} will be called once * for each invocation of the wrapped callable. */ @J2ktIncompatible @GwtIncompatible // threads static <T extends @Nullable Object> Callable<T> threadRenaming( Callable<T> callable, Supplier<String> nameSupplier) { checkNotNull(nameSupplier); checkNotNull(callable);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 4.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
import java.nio.file.Path; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Supplier; import org.apache.maven.artifact.DefaultArtifact; import org.apache.maven.internal.transformation.TransformationFailedException; import org.apache.maven.model.building.ModelBuildingException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Supplier; import com.google.common.base.Suppliers; import com.google.common.util.concurrent.TestExceptions.SomeCheckedException; import java.security.Permission; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/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 */ @ElementTypesAreNonnullByDefault final class LongAddables { private static final Supplier<LongAddable> SUPPLIER; static { Supplier<LongAddable> supplier; try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 04 17:27:14 UTC 2022 - 1.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/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: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java
* memorized and kept as long as supplier instance is kept open. * <p> * This class is not thread safe and must be used from one thread only, while the constructed {@link RepositorySystem} * is thread safe. * <p> * Important: Given the instance of supplier memorizes the supplier {@link RepositorySystem} instance it supplies,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 45.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Absent.java
@Override public Optional<T> or(Optional<? extends T> secondChoice) { return (Optional<T>) checkNotNull(secondChoice); } @Override public T or(Supplier<? extends T> supplier) { return checkNotNull( supplier.get(), "use Optional.orNull() instead of a Supplier that returns null"); } @Override @CheckForNull public T orNull() { return null; } @Override public Set<T> asSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
protected Activation.Builder transformActivation_ActiveByDefault( Supplier<? extends Activation.Builder> creator, Activation.Builder builder, Activation target) { return builder; } @Override protected Activation.Builder transformActivation_File( Supplier<? extends Activation.Builder> creator, Activation.Builder builder, Activation target) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/ImmutableSupplier.java
import com.google.common.base.Supplier; import com.google.errorprone.annotations.Immutable; /** * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link * Immutable}. */ // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type? @Immutable @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 1K bytes - Viewed (0)