- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for 1001 (0.14 sec)
-
src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java
/** * @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")); } /** * @throws Exception */
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/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java
/** * @throws Exception */ public void testNormalize() throws Exception { assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN)); assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN)); assertEquals("3", "1000.00", DecimalFormatUtil.normalize("1.000,00", Locale.GERMAN)); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java
/** * @throws Exception */ public void testToInteger() throws Exception { assertEquals(new Integer("1000"), IntegerConversionUtil.toInteger("1,000")); } /** * @throws Exception */ public void testToPrimitiveInt() throws Exception { assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000")); } /** * @throws Exception */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
bean.aaa = "1,000"; final Bean2 bean2 = new Bean2(); BeanUtil.copyBeanToBean(bean, bean2, converter(new NumberConverter("#,##0"))); assertThat(bean2.aaa, is(new Integer(1000))); } /** * @throws Exception */ @Test public void testCopyBeanToMap() throws Exception { final SrcBean src = new SrcBean(); src.aaa = "aaa";
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 34.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
assertEquals(new BigDecimal("10"), BigDecimalConversionUtil.toBigDecimal(Short.valueOf((short) 10))); assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100))); assertEquals(new BigDecimal("1000"), BigDecimalConversionUtil.toBigDecimal(Long.valueOf(1000L))); assertEquals(0, new BigDecimal("0.1").compareTo(BigDecimalConversionUtil.toBigDecimal(new Float(0.1F))));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
/** * @throws Exception */ public void testToShort() throws Exception { assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000")); } /** * @throws Exception */ public void testToPrimitiveShort() throws Exception { assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000")); } /** * @throws Exception */
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/xml/DomUtil.java
* @return 変換された文字列 */ public static String toString(final Document document) { assertArgumentNotNull("document", document); final StringBuilder buf = new StringBuilder(1000); appendElement(document.getDocumentElement(), buf); return new String(buf); } /** * {@link Element}を文字列に変換します。 * * @param element
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 })); } /** * @throws Exception */ @Test public void testToHex2() throws Exception { assertEquals("0001", StringUtil.toHex(1)); } /** * @throws Exception */ @Test public void testAppendHex() throws Exception { final StringBuilder buf = new StringBuilder();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0)