Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 296 for immutable (0.03 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: 2025-05-24 08:56
    - Last Modified: 2024-12-10 21:43
    - 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: 2025-05-30 11:42
    - Last Modified: 2025-03-19 19:25
    - 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: 2025-05-24 08:56
    - Last Modified: 2025-01-30 23:29
    - 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: 2025-05-30 12:43
    - Last Modified: 2024-10-31 14:51
    - 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: 2025-05-30 11:42
    - Last Modified: 2025-03-19 19:25
    - 7.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ApiChange.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import groovy.transform.Immutable
    
    @Immutable
    class ApiChange {
        String type
        String member
        List<String> changes
    
        static ApiChange parse(Object json) {
            new ApiChange(json.type, json.member, json.changes ?: [])
        }
    
    Registered: 2025-05-28 11:36
    - Last Modified: 2020-12-09 08:14
    - 1023 bytes
    - Viewed (0)
  7. 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: 2025-05-30 12:43
    - Last Modified: 2025-03-17 20:26
    - 7.9K bytes
    - Viewed (0)
  8. 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: 2025-05-24 08:56
    - Last Modified: 2024-08-27 21:13
    - 1.1K bytes
    - Viewed (0)
  9. 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 {
    
        /**
         * {@return the actual file that has been downloaded in the file system}
    Registered: 2025-05-24 08:56
    - Last Modified: 2024-08-27 21:13
    - 1.3K bytes
    - Viewed (0)
  10. test-site/activator-launch-1.3.2.jar

    static void <clinit>(); public static Map empty(); private void Map$(); } scala/collection/mutable/ListBuffer.class package scala.collection.mutable; public final synchronized class ListBuffer extends AbstractBuffer implements java.io.Serializable, scala.collection.generic.SeqForwarder, Builder { private scala.collection.immutable.List scala$collection$mutable$ListBuffer$$start; private scala.collection.immutable.$colon$colon last0; private boolean exported; private int len; public final int lengthCompare(int);...
    Registered: 2025-06-06 09:08
    - Last Modified: 2015-04-20 08:41
    - 1.2M bytes
    - Viewed (0)
Back to top