Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 304 for Immutable (0.04 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                        .filter(t -> Objects.equals(id, t.id()))
                        .findFirst()
                        .orElse(null);
                if (type == null) {
                    // Copy data as the ArtifactHandler is not immutable, but Type should be.
                    ArtifactHandler handler = manager.getArtifactHandler(id);
                    type = new DefaultType(
                            id,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 14 04:47:58 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

     */
    final class SubscriberRegistry {
    
      /**
       * All registered subscribers, indexed by event type.
       *
       * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an
       * immutable snapshot of all current subscribers to an event without any locking.
       */
      private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers =
          Maps.newConcurrentMap();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Range.java

     *   <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown
     * </ul>
     *
     * <h3>Warnings</h3>
     *
     * <ul>
     *   <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
     *       not</b> allow the endpoint instances to mutate after the range is created!
     *   <li>Your value type's comparison method should be {@linkplain Comparable consistent with
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Collections2.java

       *
       * <p>This method is equivalent to {@code Collections2.orderedPermutations(list,
       * Ordering.natural())}.
       *
       * @param elements the original iterable whose elements have to be permuted.
       * @return an immutable {@link Collection} containing all the different permutations of the
       *     original iterable.
       * @throws NullPointerException if the specified iterable is null or has any null elements.
       * @since 12.0
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.util.concurrent.atomic.AtomicReference
    import kotlin.reflect.KClass
    
    /**
     * An immutable collection of key-value pairs implemented as a singly-linked list.
     *
     * Build up a collection by starting with [EmptyTags] and repeatedly calling [plus]. Each such call
     * returns a new instance.
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:37:46 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * A maven workspace reader that delegates to a chain of other readers, effectively aggregating their contents.
     * <p>
     * This class, while technically is not immutable, should be considered as such once set up. If not mutated, it is also
     * thread-safe. The mutation of this class instances should happen beforehand their use in session.
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. docs/bucket/retention/README.md

    MinIO server allows WORM for specific objects or by configuring a bucket with default object lock configuration that applies default retention mode and retention duration to all objects. This makes objects in the bucket immutable i.e. delete of the version are not allowed until an expiry specified in the bucket's object lock configuration or object retention.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/graph/MapIteratorCache.java

     * correctness in the face of external mutations to the backing map. As such, it is <b>strongly</b>
     * recommended that the caller does not persist a reference to the backing map (unless the backing
     * map is immutable).
     *
     * <p>This class is tailored toward use cases in common.graph. It is *NOT* a general purpose map.
     *
     * @author James Sexton
     */
    class MapIteratorCache<K, V> {
      private final Map<K, V> backingMap;
    
      /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

                    .withRootDirectory(invokerRequest.rootDirectory().orElse(null))
                    .build();
        }
    
        public Logger logger;
    
        // this one "evolves" as process progresses (instance is immutable but instances are replaced)
        public ProtoSession protoSession;
        // here we track which user properties we pushed to Java System Properties (internal only)
        public Set<String> pushedUserProperties;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

    import java.nio.file.Path;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    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;
    import org.apache.maven.api.cli.logging.AccumulatingLogger;
    import org.apache.maven.api.services.Lookup;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top