Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for emptyList (0.08 sec)

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

        static Lifecycle.Phase phase(String name) {
            return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList(), Collections.emptyList());
        }
    
        static Lifecycle.Phase phase(String name, Lifecycle.Phase... phases) {
            return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList(), asList(phases));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            return missingArtifacts != null && !missingArtifacts.isEmpty();
        }
    
        public List<Artifact> getMissingArtifacts() {
            return missingArtifacts == null ? Collections.emptyList() : Collections.unmodifiableList(missingArtifacts);
        }
    
        public MetadataResolutionResult addMissingArtifact(Artifact artifact) {
            missingArtifacts = initList(missingArtifacts);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

            return missingArtifacts != null && !missingArtifacts.isEmpty();
        }
    
        public List<Artifact> getMissingArtifacts() {
            return missingArtifacts == null ? Collections.emptyList() : Collections.unmodifiableList(missingArtifacts);
        }
    
        public ArtifactResolutionResult addMissingArtifact(Artifact artifact) {
            missingArtifacts = initList(missingArtifacts);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertThrows(IllegalArgumentException.class, () -> Iterables.limit(list, -1));
      }
    
      public void testIsEmpty() {
        Iterable<String> emptyList = emptyList();
        assertTrue(Iterables.isEmpty(emptyList));
    
        Iterable<String> singletonList = singletonList("foo");
        assertFalse(Iterables.isEmpty(singletonList));
      }
    
      public void testSkip_simple() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndex;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Predicate;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

    import org.apache.maven.project.MavenProject;
    
    public class DefaultMavenExecutionResult implements MavenExecutionResult {
        private MavenProject project;
    
        private List<MavenProject> topologicallySortedProjects = Collections.emptyList();
    
        private DependencyResolutionResult dependencyResolutionResult;
    
        private final List<Throwable> exceptions = new CopyOnWriteArrayList<>();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

                    .build();
        }
    
        @NotThreadSafe
        class ArtifactInstallerRequestBuilder {
            Session session;
            Collection<ProducedArtifact> artifacts = Collections.emptyList();
    
            ArtifactInstallerRequestBuilder() {}
    
            @Nonnull
            public ArtifactInstallerRequestBuilder session(@Nonnull Session session) {
                this.session = session;
                return this;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

            return new ResolutionNode(Artifact, Collections.<ArtifactRepository>emptyList());
        }
    
        protected ResolutionNode createResolutionNode(Artifact Artifact, ResolutionNode parent) {
            return new ResolutionNode(Artifact, Collections.<ArtifactRepository>emptyList(), parent);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top