Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for short (1.75 sec)

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

                if (f != null) {
                    return f;
                }
                return new Float(0);
            } else if (type == short.class) {
                final Short s = ShortConversionUtil.toShort(o);
                if (s != null) {
                    return s;
                }
                return Short.valueOf((short) 0);
            } else if (type == boolean.class) {
                final Boolean b = BooleanConversionUtil.toBoolean(o);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        }
    
        /**
         * {@literal short}配列の末尾に{@literal short}の値を追加した配列を返します。
         *
         * @param array
         *            配列。{@literal null}であってはいけません
         * @param value
         *            値
         * @return 値が追加された結果の配列
         */
        public static short[] add(final short[] array, final short value) {
            assertArgumentNotNull("array", array);
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL };
    
        /**
         * デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#SHORT}スタイルのパターン文字列
         */
        public static String getShortPattern() {
            return getShortPattern(LocaleUtil.getDefault());
        }
    
        /**
         * 指定されたロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @param locale
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Short}
         */
        public static Short toShort(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            public long used;
            public long committed;
            public long max;
            public short percent;
        }
    
        public static class JvmMemoryNonHeapObj {
            public long used;
            public long committed;
            public long max;
            public short percent;
        }
    
        public static class JvmPoolObj {
            public String key;
            public long count;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

                    tempBuf.append("null");
                } else if ((value instanceof Integer) || (value instanceof Long)) {
                    tempBuf.append((value));
                } else if (value instanceof Short) {
                    tempBuf.append(((Short) value).shortValue());
                } else if (value instanceof double[]) {
                    tempBuf.append(Arrays.toString((double[]) value));
                } else {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

    /**
     * @author higa
     *
     */
    public class ShortConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToShort() throws Exception {
            assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveShort() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

        protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL };
    
        /**
         * デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#SHORT}スタイルのパターン文字列
         */
        public static String getShortPattern() {
            return getShortPattern(LocaleUtil.getDefault());
        }
    
        /**
         * 指定されたロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @param locale
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

        protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL };
    
        /**
         * デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#SHORT}スタイルのパターン文字列
         */
        public static String getShortPattern() {
            return getShortPattern(LocaleUtil.getDefault());
        }
    
        /**
         * 指定されたロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @param locale
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                throw new IORuntimeException(e);
            }
        }
    
        public void calibrateCpuLoad() {
            final short percent = ComponentUtil.getFessConfig().getAdaptiveLoadControlAsInteger().shortValue();
            if (percent <= 0) {
                return;
            }
            short current = getSystemCpuPercent();
            if (current < percent) {
                return;
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 26 05:52:29 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top