- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for simplifyArray (0.19 sec)
-
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
assertFalse(searchRequestParams.isEmptyArray(new String[] { "", "value", " " })); } // Test for simplifyArray static method public void test_simplifyArray_withDuplicates() { String[] input = { "a", "b", "a", "c", "b" }; String[] result = SearchRequestParams.simplifyArray(input); assertEquals(3, result.length); assertEquals("a", result[0]); assertEquals("b", result[1]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRequestParams.java
} /** * Simplifies the array. * * @param values The array. * @return The simplified array. */ protected static String[] simplifyArray(final String[] values) { return stream(values).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n])); } /** * Returns the parameter value array. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.6K bytes - Viewed (0)