- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for toLong (0.19 sec)
-
src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java
* */ 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 { assertEquals(1000, LongConversionUtil.toPrimitiveLong("1,000")); } /**
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) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
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) -
src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
args[index] = IntegerConversionUtil.toInteger(args[index]); return true; } else if (paramTypes[index] == long.class) { args[index] = LongConversionUtil.toLong(args[index]); return true; } else if (paramTypes[index] == float.class) { args[index] = FloatConversionUtil.toFloat(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) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
* @return 変換された{@link Long} */ public static Long toLong(final Object o) { return toLong(o, null); } /** * {@link Long}に変換します。 * * @param o * 変換元のオブジェクト * @param pattern * パターン文字列 * @return 変換された{@link Long} */ public static Long toLong(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)