Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 280 for isImmutable (0.2 sec)

  1. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. api/maven-api-toolchain/src/site/apt/index.apt

     -----
     Vincent Siveton
     -----
     2006-11-04
     -----
    
    Maven 4 API - Immutable Toolchains Model
    
     This is strictly the immutable model for Maven toolchains in <<<org.apache.maven.api.toolchain>>> package.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Dec 31 16:32:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
     * <h3>About <i>all</i> {@code Immutable-} collections</h3>
     *
     * <p>The remainder of this documentation applies to every public {@code Immutable-} type in this
     * package, whether it is a subtype of {@code ImmutableCollection} or not.
     *
     * <h4>Guarantees</h4>
     *
     * <p>Each makes the following guarantees:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     * </ul>
     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    @ElementTypesAreNonnullByDefault
    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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/ThreadSafe.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The {@code ThreadSafe} annotation can be used to indicate a given type
     * is thread safe.  {@link Immutable} objects are automatically thread safe.
     *
     * @see Immutable
     * @see NotThreadSafe
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target(ElementType.TYPE)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      /** Returns an immutable multimap containing a single entry. */
      public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1) {
        ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder();
        builder.put(k1, v1);
        return builder.build();
      }
    
      /** Returns an immutable multimap containing the given entries, in order. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java

         * @return the mutable transformerContext
         */
        TransformerContext initialize(ModelBuildingRequest request, ModelProblemCollector problems);
    
        /**
         * The immutable transformerContext, can be used after the buildplan is finished.
         *
         * @return the immutable transformerContext
         */
        TransformerContext build();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        checkEntryNotNull(k1, v1);
        return new RegularImmutableBiMap<>(new Object[] {k1, v1}, 1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      /**
       * Returns the empty immutable sorted multiset.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedMultiset<E> of() {
        return (ImmutableSortedMultiset) RegularImmutableSortedMultiset.NATURAL_EMPTY_MULTISET;
      }
    
      /** Returns an immutable sorted multiset containing a single element. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top