Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 285 for Immutable (0.04 sec)

  1. 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)
  2. 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)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *         or empty if the artifact hasn't been built yet
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Project project);
    
        /**
         * Returns an immutable collection of attached artifacts for the given project.
         * Attached artifacts are secondary artifacts produced during the build (e.g., sources jar,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. 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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.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 static org.apache.maven.api.ExtensibleEnums.projectScope;
    
    /**
     * Project scope.
     * Defines the type of source files to compile, usually either the one that compose the output package
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. 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)
Back to top