Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 298 for immutable (0.17 sec)

  1. android/guava/src/com/google/common/collect/SparseImmutableTable.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.Immutable;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /** A {@code RegularImmutableTable} optimized for sparse data. */
    @GwtCompatible
    @Immutable(containerOf = {"R", "C", "V"})
    final class SparseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.5K bytes
    - Viewed (1)
  2. guava/src/com/google/common/collect/MoreCollectors.java

        }
    
        void add(Object o) {
          checkNotNull(o);
          if (element == null) {
            this.element = o;
          } else if (extras.isEmpty()) {
            // Replace immutable empty list with mutable list.
            extras = new ArrayList<>(MAX_EXTRAS);
            extras.add(o);
          } else if (extras.size() < MAX_EXTRAS) {
            extras.add(o);
          } else {
            throw multiples(true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.ProtoSession;
    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;
    
    /**
     * Base interface for service requests in Maven. This interface defines the common contract
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Tools.java

     * under the License.
     */
    package org.apache.maven.api.cli;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    
    /**
     * Represents most common tools supported by CLIng.
     *
     * @since 4.0.0
     */
    @Immutable
    @Experimental
    public final class Tools {
        private Tools() {}
    
        public static final String MVN_CMD = "mvn";
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Result.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Base interface for service operation results in Maven. This interface defines the common contract
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

      RESTRICTS_KEYS,
      RESTRICTS_VALUES,
      SUPPORTS_PUT,
      SUPPORTS_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
      /**
       * Indicates that the constructor or factory method of a map, usually an immutable map, throws an
       * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all
       * but one.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/ProducedArtifact.java

     * under the License.
     */
    package org.apache.maven.api;
    
    import java.nio.file.Path;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    
    /**
     * An {@link Artifact} that is being produced by a {@link Project} during the build.
     *
     * <p>Produced artifacts includes:</p><ul>
     *     <li>{@linkplain Project#getPomArtifact() the project POM artifact}</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/java/org/apache/maven/api/model/package-info.java

     * specific language governing permissions and limitations
     * under the License.
     */
    
    /**
     * Maven Immutable POM (Project Object Model) classes, generated from <code>maven.mdo</code> model.
     * <p>
     * This package contains the data model classes that represent the structure of Maven POM files.
     * These classes are immutable to ensure thread safety and prevent unintended modifications.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSet.java

       *
       * @since 21.0
       */
      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        return CollectCollectors.toImmutableSet();
      }
    
      /**
       * Returns the empty immutable set. Preferred over {@link Collections#emptySet} for code
       * consistency, and because the return type conveys the immutability guarantee.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/NetworkBuilder.java

     *
     * <p>Examples of use:
     *
     * {@snippet :
     * // Building a mutable network
     * MutableNetwork<String, Integer> network =
     *     NetworkBuilder.directed().allowsParallelEdges(true).build();
     * flightNetwork.addEdge("LAX", "ATL", 3025);
     * flightNetwork.addEdge("LAX", "ATL", 1598);
     * flightNetwork.addEdge("ATL", "LAX", 2450);
     *
     * // Building a immutable network
     * ImmutableNetwork<String, Integer> immutableNetwork =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top