- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 280 for isImmutable (0.12 sec)
-
api/maven-api-meta/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 Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 1.4K bytes - Viewed (0) -
okhttp/src/main/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 { return when {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
} /** * Returns an immutable map containing the given entries, in order. * * @throws IllegalArgumentException if duplicate keys are provided */ public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) { return RegularImmutableMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2)); } /** * Returns an immutable map containing the given entries, in order. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
return ImmutableSet.of(); } else { return ImmutableEnumSet.asImmutable(EnumSet.copyOf(collection)); } } else { Iterator<E> itr = elements.iterator(); if (itr.hasNext()) { EnumSet<E> enumSet = EnumSet.of(itr.next()); Iterators.addAll(enumSet, itr); return ImmutableEnumSet.asImmutable(enumSet); } else { return ImmutableSet.of(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
*/ @Nonnull Optional<Path> getPath(Project project); /** * Returns an immutable collection of attached artifacts for given project. */ @Nonnull Collection<ProducedArtifact> getAttachedArtifacts(Project project); /** * Returns project's all artifacts as immutable collection. The list contains all artifacts, even the attached ones,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 24 11:52:48 UTC 2024 - 7.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheControlTest.kt
.maxStale(2.seconds) .minFresh(3.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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
return (ImmutableSortedMap<K, V>) NATURAL_EMPTY_MAP; } /** Returns an immutable map containing a single entry. */ public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(K k1, V v1) { return of(Ordering.natural(), k1, v1); } /** Returns an immutable map containing a single entry. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
api/maven-api-plugin/src/site/apt/index.apt
----- 2023-11-15 ----- Maven 4 API - Plugin Descriptor Model This is the immutable model for Maven Plugin Descriptor in <<<org.apache.maven.api.plugin.descriptor>>> package. The following are generated from this model:
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Dec 05 08:11:33 UTC 2023 - 1.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedDependency.java
*/ package org.apache.maven.api; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable; /** * A {@link Dependency} that has been resolved, i.e. downloaded to the local repository. * * @since 4.0.0 */ @Experimental @Immutable
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 1.1K bytes - Viewed (0)