- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for mutable (0.98 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.4K bytes - Viewed (0) -
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 { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.9K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphBuilder.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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.3K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K 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 lines
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interner.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interner.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0)