Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for immutable (0.06 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *         or empty if the artifact hasn't been built yet
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Project project);
    
        /**
         * Returns an immutable collection of attached artifacts for the given project.
         * Attached artifacts are secondary artifacts produced during the build (e.g., sources jar,
    Registered: 2025-05-24 08:56
    - Last Modified: 2025-01-30 23:29
    - 12K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     * </ul>
     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    public final class ImmutableDoubleArray implements Serializable {
      private static final ImmutableDoubleArray EMPTY = new ImmutableDoubleArray(new double[0]);
    
      /** Returns the empty array. */
      public static ImmutableDoubleArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-04-14 16:36
    - 22.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     * </ul>
     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    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. */
      public static ImmutableIntArray of(int e0) {
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-04-14 16:36
    - 21.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableCollection.java

     *       mutable objects as elements at all, as many users may expect your "immutable" object to be
     *       <i>deeply</i> immutable.
     * </ul>
     *
     * <h4>Performance notes</h4>
     *
     * <ul>
     *   <li>Implementations can be generally assumed to prioritize memory efficiency, then speed of
     *       access, and lastly speed of creation.
     *   <li>The {@code copyOf} methods will sometimes recognize that the actual copy operation is
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-04-08 13:05
    - 18.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        if (actualIterator.hasNext()) {
          fail("index " + i + ", expected is exhausted, actual <" + actualIterator.next() + ">");
        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 17:27
    - 14.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     * </ul>
     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    public final class ImmutableDoubleArray implements Serializable {
      private static final ImmutableDoubleArray EMPTY = new ImmutableDoubleArray(new double[0]);
    
      /** Returns the empty array. */
      public static ImmutableDoubleArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-04-14 16:36
    - 22.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/ImmutableLongArray.java

     * </ul>
     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    public final class ImmutableLongArray implements Serializable {
      private static final ImmutableLongArray EMPTY = new ImmutableLongArray(new long[0]);
    
      /** Returns the empty array. */
      public static ImmutableLongArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-04-14 16:36
    - 21.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      /**
       * Returns an immutable collection of the values for the given key. If no mappings in the multimap
       * have the provided key, an empty immutable collection is returned. The values are in the same
       * order as the parameters used to build this multimap.
       */
      @Override
      public abstract ImmutableCollection<V> get(K key);
    
      /**
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-14 19:40
    - 27.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys are provided
       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) {
        return RegularImmutableMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-04-08 13:05
    - 44.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      fun noTransform(): Boolean = noTransform
    
      @JvmName("-deprecated_immutable")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "immutable"),
        level = DeprecationLevel.ERROR,
      )
      fun immutable(): Boolean = immutable
    
      override fun toString(): String = commonToString()
    
      /** Builds a `Cache-Control` request header. */
      class Builder {
        internal var noCache: Boolean = false
    Registered: 2025-05-30 11:42
    - Last Modified: 2024-12-27 13:39
    - 10K bytes
    - Viewed (0)
Back to top