Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getMaxReadingNum (0.06 sec)

  1. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

                final List<String> nextInputs = new ArrayList<>();
    
                // Process each input from the previous converter
                for (final String input : currentInputs) {
                    if (resultSet.size() >= getMaxReadingNum()) {
                        break;
                    }
    
                    // Convert the input and collect results
                    final List<String> results = converter.convert(input, field, lang);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 3.3K bytes
    - Viewed (1)
  2. 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: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top