Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,122 for Collection (0.06 seconds)

  1. 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 org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        }
        return derivedSuites;
      }
    
      private static final class ReserializedSetGenerator<E> implements TestSetGenerator<E> {
        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
        private ReserializedSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Maps.java

            return false;
          }
    
          @Override
          public boolean removeAll(Collection<?> collection) {
            return removeAllKeys(unfiltered, predicate, collection);
          }
    
          @Override
          public boolean retainAll(Collection<?> collection) {
            return retainAllKeys(unfiltered, predicate, collection);
          }
    
          @Override
          public @Nullable Object[] toArray() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Maps.java

            return false;
          }
    
          @Override
          public boolean removeAll(Collection<?> collection) {
            return removeAllKeys(unfiltered, predicate, collection);
          }
    
          @Override
          public boolean retainAll(Collection<?> collection) {
            return retainAllKeys(unfiltered, predicate, collection);
          }
    
          @Override
          public @Nullable Object[] toArray() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import static java.util.Collections.emptyList;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.IteratorTester;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. 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;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. 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);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

            assertEquals("1.2.3-20090413X094722-2", ArtifactUtils.toSnapshotVersion("1.2.3-20090413X094722-2"));
        }
    
        /**
         * Tests that the ordering of the map resembles the ordering of the input collection of artifacts.
         */
        @Test
        void testArtifactMapByVersionlessIdOrdering() throws Exception {
            List<Artifact> list = new ArrayList<>();
            list.add(newArtifact("b"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Object value = ee.evaluate("${mojo.plugin.dependencies}");
    
            assertInstanceOf(Collection.class, value);
    
            @SuppressWarnings("unchecked")
            Collection<Artifact> artifacts = (Collection<Artifact>) value;
    
            assertEquals(1, artifacts.size());
    
            Artifact result = artifacts.iterator().next();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. 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",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top