Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for anyMatch (0.05 sec)

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

        FluentIterable<String> iterable = FluentIterable.<String>from(list);
        Predicate<String> predicate = equalTo("pants");
    
        assertFalse(iterable.anyMatch(predicate));
        list.add("cool");
        assertFalse(iterable.anyMatch(predicate));
        list.add("pants");
        assertTrue(iterable.anyMatch(predicate));
      }
    
      public void testAllMatch() {
        List<String> list = Lists.newArrayList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            }
        }
    
        private void persistResumptionData(MavenExecutionResult result, MavenSession session) {
            boolean hasLifecycleExecutionExceptions =
                    result.getExceptions().stream().anyMatch(LifecycleExecutionException.class::isInstance);
    
            if (hasLifecycleExecutionExceptions) {
                MavenProject rootProject = session.getAllProjects().stream()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top