- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 328 for immutable (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
if (actualIterator.hasNext()) { fail("index " + i + ", expected is exhausted, actual <" + actualIterator.next() + ">"); } } /** * Verifies that a collection is immutable. * * <p>A collection is considered immutable if: * * <ol> * <li>All its mutation methods result in UnsupportedOperationException, and do not change the * underlying contents.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.9K bytes - Viewed (0) -
api/maven-api-model/src/site/apt/index.apt
Hervé Boutemy ----- 2011-06-12 ----- Maven 4 API - Immutable Maven Model This is strictly the immutable model for Maven POM (Project Object Model), so really just plain objects in <<<org.apache.maven.api.model>>> package. The following are generated from this model: * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Nov 16 18:16:44 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertSame(unmod, Multimaps.unmodifiableListMultimap(unmod)); ImmutableListMultimap<String, Integer> immutable = ImmutableListMultimap.of("a", 1, "b", 2, "a", 3); assertSame(immutable, Multimaps.unmodifiableListMultimap(immutable)); assertSame( immutable, Multimaps.unmodifiableListMultimap((ListMultimap<String, Integer>) immutable)); } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 38.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/MacHashFunction.java
private final Mac prototype; @SuppressWarnings("Immutable") // keys are immutable, but not provably so private final Key key; private final String toString; private final int bits; private final boolean supportsClone; MacHashFunction(String algorithmName, Key key, String toString) { this.prototype = getMac(algorithmName, key); this.key = checkNotNull(key);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
* under the License. */ package org.apache.maven.api.services; import org.apache.maven.api.ProtoSession; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; /** * Base interface for service requests in Maven. This interface defines the common contract
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/PackageSanityTests.java
private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A = GraphBuilder.directed().<String>immutable().addNode("A").build(); private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B = GraphBuilder.directed().<String>immutable().addNode("B").build(); private static final NetworkBuilder<?, ?> networkBuilderA =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
NetworkBuilder.directed().<String, Integer>immutable().addNode("A").build(); assertThat(network.nodes()).containsExactly("A"); assertThat(network.edges()).isEmpty(); } @Test public void immutableNetworkBuilder_putEdgeFromNodes() { ImmutableNetwork<String, Integer> network = NetworkBuilder.directed().<String, Integer>immutable().addEdge("A", "B", 10).build();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 17:09:51 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
} /** * Returns an empty immutable table. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") public static <R, C, V> ImmutableTable<R, C, V> of() { return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY; } /** Returns an immutable table containing a single cell. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.4K bytes - Viewed (0) -
api/maven-api-settings/src/site/apt/index.apt
----- Vincent Siveton ----- 2006-11-04 ----- Maven 4 API - Immutable Settings Model This is strictly the immutable model for Maven settings in <<<org.apache.maven.api.settings>>> package. The following are generated from this model: * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Nov 16 18:16:44 UTC 2025 - 1.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/MessageDigestHashFunction.java
/** * {@link HashFunction} adapter for {@link MessageDigest} instances. * * @author Kevin Bourrillion * @author Dimitris Andreou */ @Immutable final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable { @SuppressWarnings("Immutable") // cloned before each use private final MessageDigest prototype; private final int bytes; private final boolean supportsClone;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.9K bytes - Viewed (0)