- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toPrimitiveShort (0.17 sec)
-
src/main/java/org/codelibs/core/convert/ShortConversionUtil.java
*/ public static short toPrimitiveShort(final Object o) { return toPrimitiveShort(o, null); } /** * {@literal short}に変換します。 * * @param o * 変換元のオブジェクト * @param pattern * パターン文字列 * @return 変換された{@literal short} */ public static short toPrimitiveShort(final Object o, final String pattern) { if (o == null) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
*/ public void testToPrimitiveShort() throws Exception { assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000")); } /** * @throws Exception */ public void testToPrimitiveShortForEmptyString() throws Exception { assertEquals(0, ShortConversionUtil.toPrimitiveShort("")); } /** * @throws Exception */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0)