Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 1,314 for Collections (0.15 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

            }
            return request;
        }
    
        private boolean consumerPomPresent(Collection<Artifact> artifacts) {
            return artifacts.stream()
                    .anyMatch(a -> "pom".equals(a.getExtension()) && CONSUMER_POM_CLASSIFIER.equals(a.getClassifier()));
        }
    
        private Collection<Artifact> replacePom(Collection<Artifact> artifacts) {
            List<Artifact> consumers = new ArrayList<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testLastIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "lastIndexOf(duplicate) should return index of last occurrence",
            getNumElements() / 2,
            getList().lastIndexOf(e0()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    package com.google.common.collect;
    
    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testHashCode_containingNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        int expectedHashCode = 0;
        for (E element : elements) {
          expectedHashCode += ((element == null) ? 0 : element.hashCode());
        }
    
        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

      }
    
      @Override
      public boolean removeAll(Collection<?> c) {
        return Iterables.removeIf(
            multimap.unfiltered().entries(),
            // explicit <Entry<K, V>> is required to build with JDK6
            Predicates.<Entry<K, V>>and(
                multimap.entryPredicate(), Maps.<V>valuePredicateOnEntries(Predicates.in(c))));
      }
    
      @Override
      public boolean retainAll(Collection<?> c) {
        return Iterables.removeIf(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ListMultimap;
    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Superclass for all {@code ListMultimap} testers.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

        /**
         * Transform Graph into a Collection of metadata objects that
         * could serve as a classpath for a particular scope
         *
         * @param dirtyGraph - dependency graph
         * @param scope - which classpath to extract
         * @param resolve - whether to resolve artifacts.
         * @return Collection of metadata objects in the linked subgraph of the graph which
    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. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    
    /**
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultResolutionErrorHandler implements ResolutionErrorHandler {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/HashMultimapGwtSerializationDependencies.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Map;
    
    @GwtCompatible(emulated = true)
    abstract class HashMultimapGwtSerializationDependencies<K, V> extends AbstractSetMultimap<K, V> {
      HashMultimapGwtSerializationDependencies(Map<K, Collection<V>> map) {
        super(map);
      }
    
      K dummyKey;
      V dummyValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 15 19:08:05 UTC 2017
    - 997 bytes
    - Viewed (0)
Back to top