Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,313 for Collection (0.13 sec)

  1. android/guava/src/com/google/common/collect/CompactHashSet.java

       * collection in unspecified order.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactHashSet} containing those elements (minus duplicates)
       */
      public static <E extends @Nullable Object> CompactHashSet<E> create(
          Collection<? extends E> collection) {
        CompactHashSet<E> set = createWithExpectedSize(collection.size());
        set.addAll(collection);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          warmUp(cache, 0, 100);
    
          Collection<Object> values = cache.asMap().values();
          values.clear();
          checkEmpty(values);
          checkEmpty(cache);
        }
      }
    
      public void testValues_empty_remove() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Collection<Object> values = cache.asMap().values();
          assertFalse(values.remove(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          warmUp(cache, 0, 100);
    
          Collection<Object> values = cache.asMap().values();
          values.clear();
          checkEmpty(values);
          checkEmpty(cache);
        }
      }
    
      public void testValues_empty_remove() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Collection<Object> values = cache.asMap().values();
          assertFalse(values.remove(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. fastapi/background.py

    from starlette.background import BackgroundTasks as StarletteBackgroundTasks
    from typing_extensions import Annotated, Doc, ParamSpec
    
    P = ParamSpec("P")
    
    
    class BackgroundTasks(StarletteBackgroundTasks):
        """
        A collection of background tasks that will be called after a response has been
        sent to the client.
    
        Read more about it in the
        [FastAPI docs for Background Tasks](https://fastapi.tiangolo.com/tutorial/background-tasks/).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. manifests/charts/base/README.md

    ```console
    kubectl create namespace istio-system
    helm install istio-base istio/base -n istio-system
    ```
    
    ### Profiles
    
    Istio Helm charts have a concept of a `profile`, which is a bundled collection of value presets.
    These can be set with `--set profile=<profile>`.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

      public static ImmutableIntArray copyOf(Collection<Integer> values) {
        return values.isEmpty() ? EMPTY : new ImmutableIntArray(Ints.toArray(values));
      }
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
       * <p><b>Performance note:</b> this method delegates to {@link #copyOf(Collection)} if {@code
       * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link
    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. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        public void setArtifactExists(boolean artifactExists) {
            this.artifactExists = artifactExists;
        }
    
        public Collection<ArtifactMetadata> getDependencies() {
            return dependencies;
        }
    
        public void setDependencies(Collection<ArtifactMetadata> dependencies) {
            this.dependencies = dependencies;
        }
    
        public String getArtifactUri() {
            return artifactUri;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

     * under the License.
     */
    package org.apache.maven.model.profile;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", collection.isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", collection.isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top