Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 303 for consumer (0.04 sec)

  1. 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)
  2. src/main/java/org/codelibs/core/stream/StreamUtil.java

            }
    
            /**
             * Executes the provided {@link Consumer} with a {@link Stream} obtained from the supplier.
             * The stream is automatically closed after the consumer is executed.
             *
             * @param stream the {@link Consumer} to process the {@link Stream}
             */
            public void of(final Consumer<Stream<T>> stream) {
                try (Stream<T> s = supplier.get()) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/JobProcessTest.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.function.Consumer;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class JobProcessTest extends UnitFessTestCase {
    
        public void test_constructor_processOnly() throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/QueryContext.java

                    }
                });
            }
        }
    
        /**
         * Adds function score configuration to the query builder.
         * @param functionScoreQuery Consumer that configures the function score filters.
         */
        public void addFunctionScore(final Consumer<List<FilterFunctionBuilder>> functionScoreQuery) {
            final List<FilterFunctionBuilder> list = new ArrayList<>();
            functionScoreQuery.accept(list);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/InputStreamThread.java

    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.nio.charset.Charset;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.function.Consumer;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    /**
     * A thread that reads from an input stream line by line and maintains a buffer of recent lines.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         * @throws JobProcessingException if the process cannot be started
         */
        public synchronized JobProcess startProcess(final String sessionId, final List<String> cmdList, final Consumer<ProcessBuilder> pbCall,
                final int bufferSize, final Consumer<String> outputCallback) {
            final ProcessBuilder pb = new ProcessBuilder(cmdList);
            pbCall.accept(pb);
            destroyProcess(sessionId);
            JobProcess jobProcess;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_indexFromDocuments() {
            Consumer<Boolean> successCallback = (success) -> {
                assertTrue(success);
            };
            Consumer<Throwable> errorCallback = (error) -> {
                assertNotNull(error);
            };
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

    import java.nio.charset.StandardCharsets;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.function.Consumer;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class InputStreamThreadTest extends UnitFessTestCase {
    
        public void test_constructor() {
            String input = "test line";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

    import java.time.format.DateTimeFormatter;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.function.Consumer;
    import java.util.stream.Collectors;
    
    import org.apache.commons.text.StringEscapeUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top