Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for toByte (0.21 sec)

  1. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

         * @return 変換された{@link Byte}
         */
        public static Byte toByte(final Object o) {
            return toByte(o, null);
        }
    
        /**
         * {@link Byte}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Byte}
         */
        public static Byte toByte(final Object o, final String pattern) {
            if (o == null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java

     *
     */
    public class ByteConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToByte() throws Exception {
            assertEquals(new Byte("100"), ByteConversionUtil.toByte("100"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveByte() throws Exception {
            assertEquals(100, ByteConversionUtil.toPrimitiveByte("100"));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

            } else if (type == BigInteger.class) {
                return BigIntegerConversionUtil.toBigInteger(o);
            } else if (type == Byte.class) {
                return ByteConversionUtil.toByte(o);
            }
            return o;
        }
    
        /**
         * 指定されたプリミティブ型に対応するラッパー型に変換して返します。
         *
         * @param type
         *            プリミティブ型
         * @param o
         *            変換元のオブジェクト
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            if (paramTypes[index].isPrimitive()) {
                if (paramTypes[index] == byte.class) {
                    args[index] = ByteConversionUtil.toByte(args[index]);
                    return true;
                } else if (paramTypes[index] == short.class) {
                    args[index] = ShortConversionUtil.toShort(args[index]);
                    return true;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

         */
        //    @Test
        //    public void testToDate_Null() throws Exception {
        //        assertThat(toDate(null, Locale.JAPAN), is(nullValue()));
        //    }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_EmptyString() throws Exception {
            assertThat(toDate("", Locale.JAPAN), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * オブジェクトを{@link Date}に変換します。
         *
         * @param src
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Date}
         */
        public static Date toDate(final Object src, final String pattern) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            return new String[] { str };
        }
    
        protected LocalDateTime toLocalDateTime(Object value) {
            return DfTypeUtil.toLocalDateTime(value);
        }
    
        protected Date toDate(Object value) {
            return DfTypeUtil.toDate(value);
        }
    
        protected SearchHits getSearchHits(final SearchResponse response) {
            SearchHits hits = response.getHits();
            if (hits == null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  8. src/main/webapp/js/bootstrap.min.js.map

    Helpers\n * ------------------------------------------------------------------------\n */\n\nconst TRANSITION_END = 'transitionend'\nconst MAX_UID = 1000000\nconst MILLISECONDS_MULTIPLIER = 1000\n\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\nfunction toType(obj) {\n  return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\nfunction getSpecialTransitionEndEvent() {\n  return {\n    bindType: TRANSITION_END,\n    delegateType: TRANSITION_END,\n    handle(event) {\n      if ($(event.target).is(this))...
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Jan 11 06:54:28 GMT 2020
    - 189.9K bytes
    - Viewed (0)
  9. src/main/webapp/js/jquery-3.6.3.min.map

    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 135.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * オブジェクトを{@link Date}に変換します。
         *
         * @param src
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Date}
         */
        public static Date toDate(final Object src, final String pattern) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top