- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 145 for Consumer (0.14 sec)
-
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) -
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) -
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) -
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) -
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) -
src/test/java/jcifs/smb/DosErrorTest.java
for (int dos : inputs) { int nt = findNtStatusOrMinusOne(dos); if (nt != -1) { consumer.accept(dos, nt); } } // Assert: consumer called exactly for the 3 known codes, with the right arguments ArgumentCaptor<Integer> dosCaptor = ArgumentCaptor.forClass(Integer.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
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) -
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) -
src/test/java/jcifs/smb/RequestParamTest.java
// Arrange: pick a value and a mocked consumer RequestParam rp = RequestParam.NO_RETRY; // Act: pass to the collaborator consumer.accept(rp); // Assert: interaction happened exactly once with correct argument; no other calls verify(consumer, times(1)).accept(RequestParam.NO_RETRY); verifyNoMoreInteractions(consumer); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* * @param builder a {@link Consumer} that accepts an {@link XPathFactory} and configures it. * @return a configured instance of {@link XPath}. * @throws CrawlerSystemException if an error occurs while creating the {@link XPath} instance. */ public XPath createXPath(final Consumer<XPathFactory> builder) { try {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0)