- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 304 for Immutable (0.08 seconds)
-
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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 38.9K bytes - Click Count (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);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* * {@snippet : * // Building a mutable value graph * MutableValueGraph<String, Double> graph = * ValueGraphBuilder.undirected().allowsSelfLoops(true).build(); * graph.putEdgeValue("San Francisco", "San Francisco", 0.0); * graph.putEdgeValue("San Jose", "San Jose", 0.0); * graph.putEdgeValue("San Francisco", "San Jose", 48.4); * * // Building an immutable value graphCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 7.9K bytes - Click Count (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.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Nov 16 18:16:44 GMT 2025 - 1.3K bytes - Click Count (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
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4K bytes - Click Count (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 =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (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();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 5.4K bytes - Click Count (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;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Nonnull; /** * A Maven artifact is a file, typically a JAR, that is produced and used by Maven projects.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 4.6K bytes - Click Count (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.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Nov 16 18:16:44 GMT 2025 - 1.3K bytes - Click Count (0)