- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 52 for mutable_s (0.17 seconds)
-
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)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 21.7K bytes - Click Count (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"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimap.java
* * <h3>Implementations</h3> * * <ul> * <li>{@link ImmutableListMultimap} * <li>{@link ImmutableSetMultimap} * <li>Configure your own mutable multimap with {@link MultimapBuilder} * <li>{@link LinkedListMultimap} (for one unusual kind of mutable {@code Multimap}) * </ul> * * Guava contains a number of other multimap implementations, such as {@link ArrayListMultimap}. In
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Lists.java
* @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatible public final class Lists { private Lists() {} // ArrayList /** * Creates a <i>mutable</i>, empty {@code ArrayList} instance. * * <p><b>Note:</b> if mutability is not required, use {@link ImmutableList#of()} instead. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
* @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatible public final class Lists { private Lists() {} // ArrayList /** * Creates a <i>mutable</i>, empty {@code ArrayList} instance. * * <p><b>Note:</b> if mutability is not required, use {@link ImmutableList#of()} instead. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multimap.java
* * <h3>Implementations</h3> * * <ul> * <li>{@link ImmutableListMultimap} * <li>{@link ImmutableSetMultimap} * <li>Configure your own mutable multimap with {@link MultimapBuilder} * <li>{@link LinkedListMultimap} (for one unusual kind of mutable {@code Multimap}) * </ul> * * Guava contains a number of other multimap implementations, such as {@link ArrayListMultimap}. In
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
AvlNode<E> newRoot = new AvlNode<>(element, occurrences); successor(header, newRoot, header); rootReference.checkAndSet(root, newRoot); return 0; } int[] result = new int[1]; // used as a mutable int reference to hold result AvlNode<E> newRoot = root.add(comparator(), element, occurrences, result); rootReference.checkAndSet(root, newRoot); return result[0]; } @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
if (subgraph.nodes().contains(successorNode)) { subgraph.addEdge(node, successorNode, edge); } } } return subgraph; } /** Creates a mutable copy of {@code graph} with the same nodes and edges. */ public static <N> MutableGraph<N> copyOf(Graph<N> graph) { MutableGraph<N> copy = GraphBuilder.from(graph).expectedNodeCount(graph.nodes().size()).build();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for * number types; reasonable default instance for other stateless types. For mutable types, a fresh * instance is created each time {@code get()} is called. * * @author Kevin Bourrillion * @author Ben Yu * @since 12.0 */ @GwtIncompatible @J2ktIncompatible @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
*/ @NullUnmarked public abstract class AbstractGraphTest { Graph<Integer> graph; /** * The same reference as {@link #graph}, except as a mutable graph. This field is null in case * {@link #createGraph()} didn't return a mutable graph. */ MutableGraph<Integer> graphAsMutableGraph; static final Integer N1 = 1; static final Integer N2 = 2; static final Integer N3 = 3;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 17.3K bytes - Click Count (0)