Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 581 for immutable (0.23 sec)

  1. 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: 2024-06-12 09:55
    - Last Modified: 2023-03-23 05:29
    - 1.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultMutableIvyModuleResolveMetadataTest.groovy

            def immutable = metadata.asImmutable()
            immutable != metadata
            immutable.id == newId
            immutable.moduleVersionId == DefaultModuleVersionIdentifier.newId(newId)
            immutable.sources == sources
            immutable.status == "3"
            immutable.branch == "release"
            immutable.changing
            immutable.missing
            immutable.statusScheme == ["1", "2", "3"]
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-15 00:21
    - 9.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ImmutableGraph.java

     * @since 20.0
     */
    @Beta
    @Immutable(containerOf = {"N"})
    @ElementTypesAreNonnullByDefault
    public class ImmutableGraph<N> extends ForwardingGraph<N> {
      @SuppressWarnings("Immutable") // The backing graph must be immutable.
      private final BaseGraph<N> backingGraph;
    
      ImmutableGraph(BaseGraph<N> backingGraph) {
        this.backingGraph = backingGraph;
      }
    
      /** Returns an immutable copy of {@code graph}. */
    Registered: 2024-06-12 16:38
    - Last Modified: 2022-02-01 16:30
    - 7.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/ImmutableGraph.java

     * @since 20.0
     */
    @Beta
    @Immutable(containerOf = {"N"})
    @ElementTypesAreNonnullByDefault
    public class ImmutableGraph<N> extends ForwardingGraph<N> {
      @SuppressWarnings("Immutable") // The backing graph must be immutable.
      private final BaseGraph<N> backingGraph;
    
      ImmutableGraph(BaseGraph<N> backingGraph) {
        this.backingGraph = backingGraph;
      }
    
      /** Returns an immutable copy of {@code graph}. */
    Registered: 2024-06-12 16:38
    - Last Modified: 2022-02-01 16:30
    - 7.1K bytes
    - Viewed (0)
  5. 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: 2024-06-16 04:42
    - Last Modified: 2024-04-15 13:41
    - 7.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/attributes/AttributeContainerInternal.java

        /**
         * Returns an immutable copy of this attribute set. Implementations are not required to return a distinct instance for each call.
         * Changes to this set are not reflected in the immutable copy.
         *
         * @return an immutable view of this container.
         */
        ImmutableAttributes asImmutable();
    
        /**
    Registered: 2024-06-12 18:38
    - Last Modified: 2020-04-06 16:25
    - 1.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

    import com.google.errorprone.annotations.Immutable;
    
    /**
     * 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: 2024-06-12 16:38
    - Last Modified: 2022-02-01 16:30
    - 7.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ImmutableNetwork.java

    import com.google.errorprone.annotations.Immutable;
    import java.util.Map;
    
    /**
     * A {@link Network} whose elements and structural relationships will never change. Instances of
     * this class may be obtained with {@link #copyOf(Network)}.
     *
     * <p>See the Guava User's Guide's <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
    Registered: 2024-06-12 16:38
    - Last Modified: 2022-02-01 16:30
    - 9.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ImmutableNetwork.java

    import com.google.errorprone.annotations.Immutable;
    import java.util.Map;
    
    /**
     * A {@link Network} whose elements and structural relationships will never change. Instances of
     * this class may be obtained with {@link #copyOf(Network)}.
     *
     * <p>See the Guava User's Guide's <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
    Registered: 2024-06-12 16:38
    - Last Modified: 2022-02-01 16:30
    - 9.6K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/main/java/org/gradle/platform/base/DependencySpecContainer.java

        /**
         * Returns an immutable view of dependencies stored in this container.
         *
         * @return an immutable view of dependencies. Each dependency in the collection is itself immutable.
         */
        Collection<DependencySpec> getDependencies();
    
        /**
         * Returns true if this container doesn't hold any dependency.
         *
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-10-11 12:16
    - 2.5K bytes
    - Viewed (0)
Back to top