- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 38 for mutable_s (0.16 seconds)
-
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
* suggestions. * */ @NullUnmarked public class SortedCopyBenchmark { @Param({"1", "10", "1000", "1000000"}) int size; // logarithmic triangular @Param boolean mutable; @Param InputOrder inputOrder; enum InputOrder { SORTED { @Override void arrange(List<Integer> list) { sort(list); } }, ALMOST_SORTED { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java
*/ @Experimental @Consumer @Named public interface PropertyContributor extends SpiService { /** * Invoked just before session is created with a mutable map that carries collected user properties so far. * * @param userProperties The mutable user properties, never {@code null}. * @see #contribute(ProtoSession) */ default void contribute(Map<String, String> userProperties) {} /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Nov 20 19:58:27 GMT 2024 - 2.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java
pre-calculated execution plan that stays the same during the execution. If deciding to add mutable state to this class, it should be at least considered to separate this into a separate mutable structure. */ private final List<ExecutionPlanItem> planItem; private final Map<String, ExecutionPlanItem> lastMojoExecutionForAllPhases;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/MoreCollectors.java
} void add(T o) { checkNotNull(o); if (element == null) { this.element = o; } else if (extras.isEmpty()) { // Replace immutable empty list with mutable list. extras = new ArrayList<>(MAX_EXTRAS); extras.add(o); } else if (extras.size() < MAX_EXTRAS) { extras.add(o); } else { throw multiples(true); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
* href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external * documentation</a> for details. * * <p>Examples of use: * * {@snippet : * // Building a mutable graph * MutableGraph<String> graph = GraphBuilder.undirected().allowsSelfLoops(true).build(); * graph.putEdge("bread", "bread"); * graph.putEdge("chocolate", "peanut butter"); * graph.putEdge("peanut butter", "jelly"); *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Resources.java
* * <p>This method returns a mutable {@code List}. For an {@code ImmutableList}, use {@code * Resources.asCharSource(url, charset).readLines()}. * * @param url the URL to read from * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for * helpful predefined constants * @return a mutable {@link List} containing all the linesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Count.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import org.jspecify.annotations.Nullable; /** * A mutable value of type {@code int}, for multisets to use in tracking counts of values. * * @author Louis Wasserman */ @GwtCompatible final class Count implements Serializable { private int value; Count(int value) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external * documentation</a> for details. * * <p>Examples of use: * * {@snippet : * // Building a mutable value graph * MutableValueGraph<String, Double> graph = * ValueGraphBuilder.undirected().allowsSelfLoops(true).build(); * graph.putEdgeValue("San Francisco", "San Francisco", 0.0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/LazyLogger.java
this.loggerName = ownerOfLogger.getName(); } Logger get() { /* * We use double-checked locking. We could the try racy single-check idiom, but that would * depend on Logger to not contain mutable state. * * We could use Suppliers.memoizingSupplier here, but I micro-optimized to this implementation * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java
import org.apache.maven.api.annotations.Nonnull; import static java.util.Objects.requireNonNull; /** * A thin wrapper for a {@link Path} that serves as "current working directory" value. Hence, this class * is mutable (as CWD may be changed), but allows transition only to existing directories. */ public final class CWD implements Supplier<Path> { /** * Creates instance out of {@link Path}. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.4K bytes - Click Count (0)