- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 375 for consumers (0.07 seconds)
-
guava/src/com/google/common/collect/Iterables.java
import java.util.NoSuchElementException; import java.util.Queue; import java.util.RandomAccess; import java.util.Set; import java.util.SortedSet; import java.util.Spliterator; import java.util.function.Consumer; import java.util.stream.Stream; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * An assortment of mainly legacy static utility methods that operate on or return objects of type
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
* -X PUT \ * -H 'Authorization: Bearer token' \ * --data '{\"key\":\"value\"}' * ``` * * **Note:** This will consume the request body. This may have side effects if the [RequestBody] * is streaming or can be consumed only once. */ @JvmOverloads fun toCurl(includeBody: Boolean = true): String = buildString { append("curl ${url.toString().shellEscape()}")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.cling.invoker.mvnup; import java.util.List; import java.util.Optional; import java.util.function.Consumer; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.Option; import org.apache.commons.cli.ParseException; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.cli.Options;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
} catch (NoSuchMethodException e) { throw newLinkageError(e); } } else if (rawType.equals(Consumer.class)) { return (Consumer<Object>) v -> {}; } else { return null; } } private static <T> void callAllPublicMethods(TypeToken<T> type, T object) throws InvocationTargetException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java
/** * Registers an event handler for the specified event name. * * @param eventName the event name to handle. * @param handler the consumer to invoke when the event is received. */ public void addEventHandler(final String eventName, final Consumer<EventInfo> handler) { eventHandlers.computeIfAbsent(eventName, k -> new ArrayList<>()).add(handler); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 33.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantBasePlugin.java
import org.gradle.api.tasks.TaskState; import java.io.ByteArrayOutputStream; import java.nio.charset.StandardCharsets; import java.util.List; import java.util.Locale; import java.util.function.Consumer; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; public class VagrantBasePlugin implements Plugin<Project> { @Override
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
import java.io.StringWriter; import java.util.LinkedHashSet; import java.util.List; import java.util.ListIterator; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.function.Consumer; import java.util.function.UnaryOperator; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.DeprecatedAttributes;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 08 07:36:42 GMT 2025 - 21.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
* * @param consumer Consumer function to configure the bulk request builder * @return true if all bulk operations were successful, false otherwise * @throws InterruptedRuntimeException if the operation is interrupted * @throws SearchEngineClientException if the bulk update fails */ public boolean bulkUpdate(final Consumer<BulkRequestBuilder> consumer) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
// Prefer the consumer POM when resolving POMs from the project-local repository, // to avoid treating a build POM as a repository (consumer) POM. if ("pom".equals(artifact.getExtension())) { String classifier = artifact.getClassifier(); if (classifier == null || classifier.isEmpty()) { Path consumer = getArtifactPath(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMapValues.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.util.Map.Entry; import java.util.Spliterator; import java.util.function.Consumer; import org.jspecify.annotations.Nullable; /** * {@code values()} implementation for {@link ImmutableMap}. * * @author Jesse Wilson * @author Kevin Bourrillion */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 4.1K bytes - Click Count (0)