Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for consumer (0.11 sec)

  1. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         *
         * @param src The source Bean. Must not be {@literal null}.
         * @param dest The destination Bean. Must not be {@literal null}.
         * @param option The consumer for copy options.
         */
        public static void copyBeanToBean(final Object src, final Object dest, final Consumer<CopyOptions> option) {
            copyBeanToBean(src, dest, buildCopyOptions(option));
        }
    
        /**
         * Copies properties from one Bean to another Bean.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            String sessionId = "test_session_buffer";
            List<String> cmdList = Arrays.asList("echo", "hello world");
            Consumer<ProcessBuilder> pbCall = pb -> {
                pb.redirectErrorStream(true);
            };
    
            List<String> outputs = new ArrayList<>();
            Consumer<String> outputCallback = output -> outputs.add(output);
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        /**
         * Sets an attribute value from search results using a Consumer.
         *
         * @param result the list of search results
         * @param name the attribute name
         * @param consumer the Consumer to process the attribute value
         */
        protected void setAttributeValue(final List<SearchResult> result, final String name, final Consumer<Object> consumer) {
            final List<Object> attrList = getAttributeValueList(result, name);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

            }
        }
    
        /**
         * Processes all thread information and sends it to the provided consumer.
         *
         * @param writer the consumer that will handle each line of thread dump output
         */
        public static void processThreadDump(final Consumer<String> writer) {
            for (final Map.Entry<Thread, StackTraceElement[]> entry : Thread.getAllStackTraces().entrySet()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        }
    
        /**
         * Processes thumbnail generation with a consumer function.
         * @param id The document ID.
         * @param consumer The consumer function to process thumbnail and config ID.
         * @return True if processing was successful, false otherwise.
         */
        protected boolean process(final String id, final BiPredicate<String, String> consumer) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                fail("Should throw NullPointerException for null consumer");
            } catch (NullPointerException e) {
                // Expected behavior
            }
        }
    
        public void test_processThreadDump_multipleThreads() {
            AtomicInteger threadCount = new AtomicInteger(0);
            AtomicInteger stackTraceCount = new AtomicInteger(0);
    
            Consumer<String> countingConsumer = line -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/CurlRequest.java

         *
         * @param actionListener the action listener for handling the response
         * @param exceptionListener the exception listener for handling exceptions
         */
        public void connect(final Consumer<HttpURLConnection> actionListener, final Consumer<Exception> exceptionListener) {
            final Runnable task = () -> {
                if (paramList != null) {
                    char sp;
                    if (url.indexOf('?') == -1) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        class MockCurlRequest extends CurlRequest {
    
            MockCurlRequest(Curl.Method method, String url) {
                super(method, url);
            }
    
            @Override
            public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) {
                try {
                    actionListener.accept(new MockHttpURLConnection(new URL(url)));
                } catch (MalformedURLException e) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top