- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 432 for mutable (0.05 sec)
-
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 { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (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) {} /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 20 19:58:27 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
assertEquals(mutable, copy); } ImmutableRangeSet<Integer> built = builder.build(); assertEquals(mutable, built); assertEquals(ImmutableRangeSet.copyOf(mutable), built); assertEquals(mutable.complement(), built.complement()); for (int i = 0; i <= 11; i++) { assertEquals(mutable.contains(i), built.contains(i)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java
/* At the moment, this class is totally immutable, and this is in line with thoughts about the 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;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
} void add(Object 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);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java
// public interface RepositoryCache { /** * Puts the specified data into the cache. <strong>Warning:</strong> The cache will directly save the provided * reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is * responsible for creating a copy of the original data and store the copy in the cache. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* * <p>The default value is {@link ElementOrder#unordered() unordered} for mutable graphs. For * immutable graphs, this value is ignored; they always have a {@link ElementOrder#stable() * stable} order. * * @throws IllegalArgumentException if {@code incidentEdgeOrder} is not either {@code * ElementOrder.unordered()} or {@code ElementOrder.stable()}. * @since 29.0 */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (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}. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 14:09:05 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
@Test @DisplayName("ltime field is mutable") void testLtimeField() { TestLocking t = new TestLocking(); // Initial value assertEquals(0L, t.ltime, "ltime should start at 0"); // Set new value long currentTime = System.currentTimeMillis(); t.ltime = currentTime; assertEquals(currentTime, t.ltime, "ltime should be mutable"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
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 linesRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0)