Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,096 for immutable (0.17 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/main/java/org/gradle/api/internal/initialization/AbstractClassLoaderScope.java

        public ClassLoaderScope local(ClassPath classPath) {
            return immutable();
        }
    
        @Override
        public ClassLoaderScope export(ClassPath classPath) {
            return immutable();
        }
    
        @Override
        public ClassLoaderScope export(ClassLoader classLoader) {
            return immutable();
        }
    
        private ClassLoaderScope immutable() {
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-01-26 14:58
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

        return construct(e1);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2) {
        return construct(e1, e2);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-06-02 13:36
    - 27.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/MacHashFunction.java

      @SuppressWarnings("Immutable") // cloned before each use
      private final Mac prototype;
    
      @SuppressWarnings("Immutable") // keys are immutable, but not provably so
      private final Key key;
    
      private final String toString;
      private final int bits;
      private final boolean supportsClone;
    
      MacHashFunction(String algorithmName, Key key, String toString) {
        this.prototype = getMac(algorithmName, key);
    Registered: 2024-06-12 16:38
    - Last Modified: 2022-02-15 22:31
    - 3.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/ImmutableIntArray.java

     * </ul>
     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    @ElementTypesAreNonnullByDefault
    public final class ImmutableIntArray implements Serializable {
      private static final ImmutableIntArray EMPTY = new ImmutableIntArray(new int[0]);
    
      /** Returns the empty array. */
      public static ImmutableIntArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-05-12 16:34
    - 20.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/ImmutableSupplier.java

    package com.google.common.hash;
    
    import com.google.common.base.Supplier;
    import com.google.errorprone.annotations.Immutable;
    
    /**
     * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link
     * Immutable}.
     */
    // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type?
    @Immutable
    @ElementTypesAreNonnullByDefault
    Registered: 2024-06-12 16:38
    - Last Modified: 2021-04-20 18:43
    - 1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.util.AbstractList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import java.util.RandomAccess;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable array of {@code long} values, with an API resembling {@link List}.
     *
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-05-12 16:34
    - 18.9K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStep.java

     * <li>We then attempt to move the temporary workspace directory (including the newly generated
     * {code metadata.bin} into its permanent immutable location. The move happens atomically, and if
     * successful, the newly created immutable workspace is returned.</li>
     * <li>If the move fails because a directory is already present in the immutable location, we assume
     * that we got into a race condition with another Gradle process, and try to reuse the newly appeared
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-19 16:44
    - 19.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/ImmutableSupplier.java

    package com.google.common.hash;
    
    import com.google.common.base.Supplier;
    import com.google.errorprone.annotations.Immutable;
    
    /**
     * Explicitly named subinterface of {@link Supplier} that can be marked {@literal @}{@link
     * Immutable}.
     */
    // TODO(cpovirk): Should we just use ChecksumType directly instead of defining this type?
    @Immutable
    @ElementTypesAreNonnullByDefault
    Registered: 2024-06-12 16:38
    - Last Modified: 2021-04-20 18:43
    - 1K bytes
    - Viewed (0)
Back to top