Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,943 for convert (0.04 sec)

  1. android/guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
     *   <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}.
     *   <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code
     *       converter.reverse().convertAll(bs)}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
        }
    
        @Test
        public void testConvertWithSpecialCharacters() throws IOException {
            // Test convert with special characters
            String text = "test@#$%123";
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

            assertTrue(converter.convert("ケンサク", null).contains("kennsaku"));
        }
    
        public void test_convertBasicKatakana() {
            List<String> results = converter.convert("アイウエオ", null);
            assertTrue(results.contains("aiueo"));
        }
    
        public void test_convertWithShi() {
            List<String> results = converter.convert("シ", null);
            assertTrue(results.contains("si"));
            assertTrue(results.contains("shi"));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

        }
    
        /**
         * Converts to {@link Float}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Float}
         */
        public static Float toFloat(final Object o) {
            return toFloat(o, null);
        }
    
        /**
         * Converts to {@link Float}.
         *
         * @param o
         *            The object to convert
         * @param pattern
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

        }
    
        /**
         * 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
         */
        protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

         */
        protected IntegerConversionUtil() {
        }
    
        /**
         * Converts to {@link Integer}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Integer}
         */
        public static Integer toInteger(final Object o) {
            return toInteger(o, null);
        }
    
        /**
         * Converts to {@link Integer}.
         *
         * @param o
         *            The object to convert
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CaseFormat.java

      }
    
      /**
       * Returns a serializable {@code Converter} that converts strings from this format to {@code
       * targetFormat}.
       *
       * @since 16.0
       */
      public Converter<String, String> converterTo(CaseFormat targetFormat) {
        return new StringConverter(this, targetFormat);
      }
    
      private static final class StringConverter extends Converter<String, String>
          implements Serializable {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Dec 03 18:46:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top