Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 332 for converted (0.06 sec)

  1. android/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)
  2. src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java

            final NumberConverter converter = new NumberConverter("##0");
            assertThat(converter.getAsObject("100"), is((Object) Long.valueOf("100")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsString() throws Exception {
            final NumberConverter converter = new NumberConverter("##0");
            assertThat(converter.getAsString(new Integer("100")), is("100"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

    import static org.junit.Assert.assertThat;
    
    import java.sql.Time;
    import java.sql.Timestamp;
    import java.util.Date;
    
    import org.codelibs.core.beans.converter.DateConverter;
    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.ConverterRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CopyOptionsTest {
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.23.md

    ### Structured logging graduate to Beta
    
    Structured logging reached its Beta milestone. Most log messages from kubelet and kube-scheduler have been converted. Users are encouraged to try out JSON output or parsing of the structured text format and provide feedback on possible solutions for the open issues, such as handling of multi-line strings in log values.
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

                    .readingConverter(converter).normalizer(normalizer).build(runner.client(), id);
    
            assertEquals(runner.client(), suggester.client);
    
            SuggestSettings settings = suggester.settings();
            assertEquals(settingsIndexName, settings.getSettingsIndexName());
            assertEquals(id, settings.getSettingsId());
    
            assertEquals(converter, suggester.getReadingConverter());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java

         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd");
            final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/01/16"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertThat;
    
    import java.util.Date;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.core.beans.converter.DateConverter;
    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.NullArgumentException;
    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author higa
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

     */
    package org.codelibs.core.beans.converter;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.text.DecimalFormat;
    import java.text.ParseException;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.exception.ParseRuntimeException;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/converter/TimestampConverter.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.StringConversionUtil;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K 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