Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getMaxReadingNum (0.11 sec)

  1. 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 Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

     */
    package org.codelibs.fess.suggest.converter;
    
    import java.io.IOException;
    import java.util.List;
    
    public interface ReadingConverter {
        default int getMaxReadingNum() {
            return 10;
        }
    
        void init() throws IOException;
    
        List<String> convert(String text, final String field, String... langs) throws IOException;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 952 bytes
    - Viewed (0)
  3. 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 Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top