Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Consumer (0.08 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            private final TransferEvent event;
    
            private Exchange(TransferEvent event) {
                this.event = event;
            }
    
            public void process(Consumer<TransferEvent> consumer) {
                consumer.accept(event);
            }
    
            public void waitForProcessed() throws InterruptedException {
                // nothing, is async
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                }
                for (Artifact consumer : consumers) {
                    result.remove(consumer);
                    result.add(new DefaultArtifact(
                            consumer.getGroupId(),
                            consumer.getArtifactId(),
                            "",
                            consumer.getExtension(),
                            consumer.getVersion(),
                            consumer.getProperties(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

         * consumer project.
         * <p>
         * Note: This property is about "build path", whatever it means in the scope of the consumer project. It is NOT
         * about Java classpath or anything alike. How artifact is being consumed depends heavily on the consumer project.
         * Resolver is and will remain agnostic of consumer project use cases.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
            spliterator.forEachRemaining(consumer);
          }
        },
        NO_SPLIT_TRY_ADVANCE {
          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
            while (spliterator.tryAdvance(consumer)) {
              // do nothing
            }
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
            spliterator.forEachRemaining(consumer);
          }
        },
        NO_SPLIT_TRY_ADVANCE {
          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
            while (spliterator.tryAdvance(consumer)) {
              // do nothing
            }
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

                    response.getReport().entrySet()) {
                Consumer<String> consumer = s -> context.terminal
                        .writer()
                        .println(messageBuilderFactory.builder().info(s).build());
                if (entry.getKey() == SecDispatcher.ValidationResponse.Level.ERROR) {
                    consumer = s -> context.terminal
                            .writer()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Streams.java

          Stream<A> streamA, Stream<B> streamB, BiConsumer<? super A, ? super B> consumer) {
        checkNotNull(consumer);
    
        if (streamA.isParallel() || streamB.isParallel()) {
          zip(streamA, streamB, TemporaryPair::new).forEach(pair -> consumer.accept(pair.a, pair.b));
        } else {
          Iterator<A> iterA = streamA.iterator();
          Iterator<B> iterB = streamB.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Streams.java

          Stream<A> streamA, Stream<B> streamB, BiConsumer<? super A, ? super B> consumer) {
        checkNotNull(consumer);
    
        if (streamA.isParallel() || streamB.isParallel()) {
          zip(streamA, streamB, TemporaryPair::new).forEach(pair -> consumer.accept(pair.a, pair.b));
        } else {
          Iterator<A> iterA = streamA.iterator();
          Iterator<B> iterB = streamB.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeTraverser.java

          @Override
          public UnmodifiableIterator<T> iterator() {
            return preOrderIterator(root);
          }
    
          @Override
          public void forEach(Consumer<? super T> action) {
            checkNotNull(action);
            new Consumer<T>() {
              @Override
              public void accept(T t) {
                action.accept(t);
                children(t).forEach(this);
              }
            }.accept(root);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

            return returnFirstPresentOrEmpty(Options::help);
        }
    
        @Override
        public void warnAboutDeprecatedOptions(ParserRequest request, Consumer<String> printWriter) {}
    
        @Override
        public void displayHelp(ParserRequest request, Consumer<String> printWriter) {
            options.get(0).displayHelp(request, printWriter);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top