Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 436 for Convert (0.05 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            // Test convert with single language
            String text = "test text";
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
            // Results may vary based on analyzer configuration
        }
    
        @Test
        public void testConvertWithMultipleLanguages() throws IOException {
            // Test convert with multiple languages
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CaseFormat.java

          return Ascii.toLowerCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
      /** C++ variable naming convention, e.g., "lower_underscore". */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CaseFormat.java

          return Ascii.toLowerCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
      /** C++ variable naming convention, e.g., "lower_underscore". */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

         */
        protected LongConversionUtil() {
        }
    
        /**
         * Converts the given object to a {@link Long}.
         *
         * @param o
         *            the object to convert
         * @return the converted {@link Long}
         */
        public static Long toLong(final Object o) {
            return toLong(o, null);
        }
    
        /**
         * Converts the given object to a {@link Long}.
         *
         * @param o
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

     * The class uses a Transliterator to convert between Hiragana and Katakana.
     *
     * <p>Constructor:
     * <ul>
     *   <li>{@link #AnalyzerConverter(Client, SuggestSettings)}: Initializes the converter with the given client and settings.</li>
     * </ul>
     *
     * <p>Methods:
     * <ul>
     *   <li>{@link #init()}: Initializes the converter. Currently does nothing.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://foo.com/";
            result = "http://www.foo.com/";
            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://foo.com:8080/";
            result = "http://www.foo.com:8080/";
            assertEquals(result, duplicateHostHelper.convert(url));
    
            url = "http://mail.bar.com/";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
        /**
         * Converts a TermQuery to a QueryBuilder with the given boost value.
         *
         * @param context the query context
         * @param termQuery the term query to convert
         * @param boost the boost value to apply
         * @return the converted QueryBuilder
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
         *            The source object to convert.
         * @return The converted {@link Date}.
         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            // Test convert with null text
            converter.init();
            String text = null;
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
            assertNotNull(readings);
            assertTrue(readings.isEmpty());
        }
    
        @Test
        public void testConvertWithMultipleLanguages() throws IOException {
            // Test convert with multiple languages
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
         *            The source object to convert.
         * @return The converted {@link Date}.
         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top