Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,395 for convert (0.15 sec)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

      public void testStringConverter_convert() {
        Converter<String, Long> converter = Longs.stringConverter();
        assertThat(converter.convert("1")).isEqualTo((Long) 1L);
        assertThat(converter.convert("0")).isEqualTo((Long) 0L);
        assertThat(converter.convert("-1")).isEqualTo((Long) (-1L));
        assertThat(converter.convert("0xff")).isEqualTo((Long) 255L);
        assertThat(converter.convert("0xFF")).isEqualTo((Long) 255L);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                    }
                };
            } else {
                return null;
            }
        }
    
        private List<SettingsProblem> convert(List<BuilderProblem> problems) {
            return problems.stream().map(this::convert).toList();
        }
    
        private SettingsProblem convert(BuilderProblem problem) {
            return new DefaultSettingsProblem(
                    problem.getMessage(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                    chain.addConverter(new LangAnayzerConverter(lang));
                }
                converter = chain;
            }
            return converter.convert(text, field);
        }
    
        protected class LangAnayzerConverter implements ReadingConverter {
            protected final String lang;
    
            protected LangAnayzerConverter(final String lang) {
                this.lang = lang;
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

        @Override
        public void init() throws IOException {
            for (final ReadingConverter converter : converters) {
                converter.init();
            }
        }
    
        @Override
        public List<String> convert(final String text, final String field, final String... lang) throws IOException {
            final Queue<String> queue = new LinkedList<>();
            queue.add(text);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import static org.codelibs.core.convert.TimestampConversionUtil.toCalendar;
    import static org.codelibs.core.convert.TimestampConversionUtil.toDate;
    import static org.codelibs.core.convert.TimestampConversionUtil.toPlainPattern;
    import static org.codelibs.core.convert.TimestampConversionUtil.toSqlTimestamp;
    import static org.hamcrest.CoreMatchers.is;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testStringConverter_convert() {
        Converter<String, Float> converter = Floats.stringConverter();
        assertThat(converter.convert("1.0")).isEqualTo((Float) 1.0f);
        assertThat(converter.convert("0.0")).isEqualTo((Float) 0.0f);
        assertThat(converter.convert("-1.0")).isEqualTo((Float) (-1.0f));
        assertThat(converter.convert("1")).isEqualTo((Float) 1.0f);
        assertThat(converter.convert("0")).isEqualTo((Float) 0.0f);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testStringConverter_convert() {
        Converter<String, Double> converter = Doubles.stringConverter();
        assertThat(converter.convert("1.0")).isEqualTo((Double) 1.0);
        assertThat(converter.convert("0.0")).isEqualTo((Double) 0.0);
        assertThat(converter.convert("-1.0")).isEqualTo((Double) (-1.0));
        assertThat(converter.convert("1")).isEqualTo((Double) 1.0);
        assertThat(converter.convert("0")).isEqualTo((Double) 0.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

      public void testStringConverter_convert() {
        Converter<String, Float> converter = Floats.stringConverter();
        assertThat(converter.convert("1.0")).isEqualTo((Float) 1.0f);
        assertThat(converter.convert("0.0")).isEqualTo((Float) 0.0f);
        assertThat(converter.convert("-1.0")).isEqualTo((Float) (-1.0f));
        assertThat(converter.convert("1")).isEqualTo((Float) 1.0f);
        assertThat(converter.convert("0")).isEqualTo((Float) 0.0f);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

            }
            duplicateHostList.add(duplicateHost);
        }
    
        public String convert(final String url) {
            if (duplicateHostList == null) {
                init();
            }
    
            String newUrl = url;
            for (final DuplicateHost duplicateHost : duplicateHostList) {
                newUrl = duplicateHost.convert(newUrl);
            }
            return newUrl;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/converter/DateConverter.java

     */
    package org.codelibs.core.beans.converter;
    
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Date;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.convert.DateConversionUtil;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top