Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,398 for Collection (0.59 sec)

  1. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

      public ForMapMultimapAsMapImplementsMapTest() {
        super(true, true, true);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Map<String, Integer> map = new HashMap<>();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = new HashMap<>();
        map.put("foo", 1);
        map.put("bar", 2);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. fastapi/background.py

    from starlette.background import BackgroundTasks as StarletteBackgroundTasks
    from typing_extensions import 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

    import org.eclipse.aether.RequestTrace;
    import org.eclipse.aether.artifact.ArtifactType;
    import org.eclipse.aether.artifact.ArtifactTypeRegistry;
    import org.eclipse.aether.collection.CollectRequest;
    import org.eclipse.aether.collection.DependencyCollectionException;
    import org.eclipse.aether.graph.DependencyFilter;
    import org.eclipse.aether.graph.DependencyNode;
    import org.eclipse.aether.resolution.ArtifactResult;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          @SuppressWarnings("unchecked")
          V[] valuesArray = (V[]) elements;
    
          // Start with a suitably shaped collection of entries
          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each value
          Collection<Entry<K, V>> entries = new ArrayList<>(elements.length);
          int i = 0;
          for (Entry<K, V> entry : originalEntries) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java

     */
    package org.apache.maven.repository;
    
    import java.util.ArrayList;
    import java.util.Collection;
    
    /**
     * This is the main graph data structure used by the RepositorySystem to present tree and graph objects.
     *
     *
     */
    @Deprecated
    public class MetadataGraph {
        /** all graph nodes */
        Collection<MetadataGraphNode> nodes;
    
        /** entry point for tree-like structures */
        MetadataGraphNode entry;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

        return Multimaps.filterEntries(unfiltered, PREDICATE);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Multimap<String, Integer> multimap = createMultimap();
        return multimap.asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> multimap = createMultimap();
        populate(multimap);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
            mavenPluginValidator.validate(plugin, descriptor, errors);
            assertTrue(
                    errors.isEmpty(), "Expected collection to be empty but had " + errors.size() + " elements: " + errors);
        }
    
        @Test
        void testInvalidGroupId() {
            Artifact plugin = new DefaultArtifact(
                    "org.apache.maven.its.plugins",
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingMultiset.java

      }
    
      /**
       * A sensible definition of {@link #addAll(Collection)} in terms of {@link #add(Object)} and
       * {@link #add(Object, int)}. If you override either of these methods, you may wish to override
       * {@link #addAll(Collection)} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardAddAll(Collection<? extends E> elementsToAdd) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      private void assertCollectionSize(Collection<?> collection, int size) {
        assertThat(collection.size()).isEqualTo(size);
        if (size > 0) {
          assertThat(collection.isEmpty()).isFalse();
        } else {
          assertThat(collection.isEmpty()).isTrue();
        }
        assertThat(Iterables.size(collection)).isEqualTo(size);
        assertThat(Iterators.size(collection.iterator())).isEqualTo(size);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT implementation of {@link ImmutableSet} that forwards to another {@code Set} implementation.
     *
     * @author Hayward Chan
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top