- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 263 for immutable (0.06 sec)
-
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Immutable.java
import java.lang.annotation.Target; /** * The {@code Immutable} annotation indicates that the object is immutable, i.e. * none of its field can be changed. This also ensures that the type is * {@link ThreadSafe}. * * @see ThreadSafe * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @ThreadSafe @Target(ElementType.TYPE)
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Dec 10 21:43:27 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt
if (minFreshSeconds != -1) append("min-fresh=").append(minFreshSeconds).append(", ") if (onlyIfCached) append("only-if-cached, ") if (noTransform) append("no-transform, ") if (immutable) append("immutable, ") if (isEmpty()) return "" deleteRange(length - 2, length) } headerValue = result } return result } internal fun Long.commonClampToInt(): Int = when {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:29:13 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
// If add is supported, verify that IMMUTABLE is not reported. assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE)); } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testSpliteratorNotImmutable_collectionAllowsRemove() { // If remove is supported, verify that IMMUTABLE is not reported.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
.minFresh(3, TimeUnit.SECONDS) .onlyIfCached() .noTransform() .immutable() .build() assertThat(cacheControl.toString()).isEqualTo( "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, " + "no-transform, immutable", ) assertThat(cacheControl.noCache).isTrue() assertThat(cacheControl.noStore).isTrue()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
import com.google.errorprone.annotations.Immutable; import com.google.errorprone.annotations.InlineMe; /** * A {@link ValueGraph} whose elements and structural relationships will never change. Instances of * this class may be obtained with {@link #copyOf(ValueGraph)}. * * <p>See the Guava User's Guide's <a * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedArtifact.java
import java.nio.file.Path; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable; /** * An {@link Artifact} that has been resolved, i.e. downloaded to the local repository. * * @since 4.0.0 */ @Experimental @Immutable public interface DownloadedArtifact extends Artifact { /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 1.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* mutable objects as elements at all, as many users may expect your "immutable" object to be * <i>deeply</i> immutable. * </ul> * * <h4>Performance notes</h4> * * <ul> * <li>Implementations can be generally assumed to prioritize memory efficiency, then speed of * access, and lastly speed of creation. * <li>The {@code copyOf} methods will sometimes recognize that the actual copy operation is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java
* under the License. */ package org.apache.maven.api; import java.util.Collection; 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; /** * {@code ArtifactCoordinates} completed with information about how the artifact will be used.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 05 14:29:21 UTC 2025 - 2.5K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0)