Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for immutable (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

        // If add is supported, verify that IMMUTABLE is not reported.
        assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testSpliteratorNotImmutable_collectionAllowsRemove() {
        // If remove is supported, verify that IMMUTABLE is not reported.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         */
        @Nonnull
        Optional<Path> getPath(Project project);
    
        /**
         * Returns an immutable collection of attached artifacts for given project.
         */
        @Nonnull
        Collection<ProducedArtifact> getAttachedArtifacts(Project project);
    
        /**
         * Returns project's all artifacts as immutable collection. The list contains all artifacts, even the attached ones,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return (ImmutableSortedMap<K, V>) NATURAL_EMPTY_MAP;
      }
    
      /** Returns an immutable map containing a single entry. */
      public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(K k1, V v1) {
        return of(Ordering.natural(), k1, v1);
      }
    
      /** Returns an immutable map containing a single entry. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java

    package org.apache.maven.cli.transfer;
    
    import java.io.File;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.eclipse.aether.transfer.TransferResource;
    
    /**
     * Immutable identifier of a {@link TransferResource}.
     * The {@link TransferResource} is not immutable and does not implement {@code Objects#equals} and {@code Objects#hashCode} methods,
     * making it not very suitable for usage in collections.
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java

         * @param problems the problemCollector
         * @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)
  6. android/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
    - 22.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *
     * @since 22.0
     */
    @GwtCompatible
    @Immutable
    @ElementTypesAreNonnullByDefault
    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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top