Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Vong (0.14 sec)

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

                if (d != null) {
                    return d;
                }
                return new Double(0);
            } else if (type == long.class) {
                final Long l = LongConversionUtil.toLong(o);
                if (l != null) {
                    return l;
                }
                return Long.valueOf(0);
            } else if (type == float.class) {
                final Float f = FloatConversionUtil.toFloat(o);
                if (f != null) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/NoSuchAlgorithmRuntimeException.java

    /**
     * {@link NoSuchAlgorithmException}をラップする例外です。
     *
     * @author higa
     */
    public class NoSuchAlgorithmRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -3176447530746274091L;
    
        /**
         * {@link NoSuchAlgorithmRuntimeException}を作成します。
         *
         * @param cause
         *            原因となった例外
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java

    /**
     * @author higa
     *
     */
    public class LongConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToLong() throws Exception {
            assertEquals(new Long("1000"), LongConversionUtil.toLong("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveLong() throws Exception {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/NullArgumentException.java

     *
     * {@link NullPointerException}をthrowする代わりに使うことを想定しています。
     *
     * @author wyukawa
     */
    public class NullArgumentException extends ClIllegalArgumentException {
    
        /**
         *
         */
        private static final long serialVersionUID = 1L;
    
        /**
         * {@link NullArgumentException}を作成します。
         *
         * @param argName
         *            {@code null} である引数の名前
         */
        public NullArgumentException(final String argName) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java

    /**
     * {@link UnsupportedOperationException}をラップする例外です。
     *
     * @author wyukawa
     */
    public class ClUnsupportedOperationException extends UnsupportedOperationException {
    
        private static final long serialVersionUID = -6732367317955522602L;
    
        /**
         * {@link ClUnsupportedOperationException}を作成します。
         */
        public ClUnsupportedOperationException() {
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/EmptyArgumentException.java

     */
    package org.codelibs.core.exception;
    
    /**
     * 空の場合にスローされる例外です。
     *
     * @author higa
     */
    public class EmptyArgumentException extends ClIllegalArgumentException {
    
        private static final long serialVersionUID = 4625805280526951642L;
    
        /**
         * {@link EmptyArgumentException}を作成します。
         *
         * @param argName
         *            引数の名前
         * @param messageCode
         *            メッセージコード
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

    /**
     * A base exception class for CoreLib.
     *
     * @author higa
     * @author shinsuke
     */
    public class ClRuntimeException extends RuntimeException {
    
        private static final long serialVersionUID = -4452607868694297329L;
    
        private final String messageCode;
    
        private final Object[] args;
    
        private final String message;
    
        private final String simpleMessage;
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        public void testPerformance() throws Exception {
            int num = 100000;
            Map<String, Object> hmap = new HashMap<String, Object>();
            Map<String, Object> amap = new ArrayMap<String, Object>();
    
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                hmap.put(String.valueOf(i), null);
            }
            System.out.println("HashMap.put:" + (System.currentTimeMillis() - start));
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        }
    
        /**
         * デフォルロケールで{@link DateFormat#LONG}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#LONG}スタイルのパターン文字列
         */
        public static String getLongPattern() {
            return getLongPattern(LocaleUtil.getDefault());
        }
    
        /**
         * 指定されたロケールで{@link DateFormat#LONG}スタイルのパターン文字列を返します。
         *
         * @param locale
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java

         * @throws Exception
         */
        @Test
        public void testGetAsObject() throws Exception {
            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");
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top