Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 398 for mutable (0.04 seconds)

  1. android/guava/src/com/google/common/graph/MapRetrievalCache.java

        V value = super.getIfCached(key);
        if (value != null) {
          return value;
        }
    
        // Store a local reference to the cache entry. If the backing map is immutable, this,
        // in combination with immutable cache entries, will ensure a thread-safe cache.
        CacheEntry<K, V> entry;
    
        // Check cache. We use == on purpose because it's cheaper and a cache miss is ok.
        entry = cacheEntry1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Partial identification of an {@link Artifact} in a Maven repository.
     * Each {@code ArtifactCoordinates} instance is basically a pointer to a file in the Maven repository,
     * except that the exact version may not be known yet.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactCoordinates {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A request for resolving an artifact.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ArrayTable.java

        eraseAll();
      }
    
      private ArrayTable(Table<R, C, ? extends @Nullable V> table) {
        this(table.rowKeySet(), table.columnKeySet());
        putAll(table);
      }
    
      private ArrayTable(ArrayTable<R, C, V> table) {
        rowList = table.rowList;
        columnList = table.columnList;
        rowKeyToIndex = table.rowKeyToIndex;
        columnKeyToIndex = table.columnKeyToIndex;
        @SuppressWarnings("unchecked")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A request for deploying one or more artifacts to a remote repository.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactDeployerRequest extends Request<Session> {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

        /**
         * Returns immutable user properties to use for interpolation. The user properties have been configured directly
         * by the user, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
         * @return the user properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getUserProperties();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Collects settings that control the building of effective settings.
     */
    @Experimental
    @Immutable
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

      @SuppressWarnings("unchecked")
      private RangeMap<K, V> emptySubRangeMap() {
        return (RangeMap<K, V>) (RangeMap<?, ?>) EMPTY_SUB_RANGE_MAP;
      }
    
      @SuppressWarnings("ConstantCaseForConstants") // This RangeMap is immutable.
      private static final RangeMap<Comparable<?>, Object> EMPTY_SUB_RANGE_MAP =
          new RangeMap<Comparable<?>, Object>() {
            @Override
            public @Nullable Object get(Comparable<?> key) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. lib/hg/goreposum.py

    #
    #	hg --config "extensions.goreposum=$GOROOT/lib/hg/goreposum.py" goreposum REPOURL
    
    import base64, hashlib, sys
    from mercurial import registrar, ui, hg, node
    from mercurial.i18n import _
    cmdtable = {}
    command = registrar.command(cmdtable)
    @command(b'goreposum', [], _('url'), norepo=True)
    def goreposum(ui, url):
      """
      goreposum computes a checksum of all the named state in the remote repo.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Nov 11 15:21:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. 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);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top