- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toPrimitiveShort (0.05 sec)
-
src/main/java/org/codelibs/core/convert/ShortConversionUtil.java
/** * Converts to {@literal short}. * * @param o * The object to convert * @return The converted {@literal short} */ public static short toPrimitiveShort(final Object o) { return toPrimitiveShort(o, null); } /** * Converts to {@literal short}. * * @param o * The object to convert * @param pattern
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 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 Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0)