- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getMaxReadingNum (0.2 sec)
-
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
queue.add(text); final List<String> convertedTexts = new ArrayList<>(getMaxReadingNum()); convertedTexts.add(text); for (final ReadingConverter converter : converters) { String s; while ((s = queue.poll()) != null && convertedTexts.size() <= getMaxReadingNum()) { final List<String> results = converter.convert(s, field, lang);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
converter = testConverter; } @Test public void testGetMaxReadingNum() { // Test default max reading num assertEquals(10, converter.getMaxReadingNum()); } @Test public void testInitNormal() throws IOException { // Test normal initialization converter.init(); assertTrue(testConverter.isInitialized()); }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java
*/ public interface ReadingConverter { /** * Returns the maximum number of readings. * * @return the maximum number of readings, default is 10. */ default int getMaxReadingNum() { return 10; } /** * Initializes the converter. * * @throws IOException if an I/O error occurs during initialization. */ void init() throws IOException;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java
if (j == 0) { for (final StringBuilder buf : bufList) { buf.append(alphabets[j]); } } else if (bufList.size() < getMaxReadingNum()) { final List<StringBuilder> tmpBufList = deepCopyBufList(originBufList); for (final StringBuilder buf : tmpBufList) { buf.append(alphabets[j]);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 10.8K bytes - Viewed (0)