- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NumberConverter (0.09 sec)
-
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
import static org.junit.Assert.assertThat; import java.util.Date; import java.util.HashMap; import java.util.Map; import org.codelibs.core.beans.converter.DateConverter; import org.codelibs.core.beans.converter.NumberConverter; import org.codelibs.core.exception.NullArgumentException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author higa */ public class BeanUtilTest {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
assertThat(new CopyOptions().converter(new NumberConverter("##0"), "aaa").convertValue(new Integer(1), "aaa", null), is((Object) "1")); } /** * @throws Exception */ @Test public void testConvertValue_propertyConverter_asObject() throws Exception { assertThat(new CopyOptions().converter(new NumberConverter("##0"), BeanNames.aaa()).convertValue("1", "aaa", null),
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
* このコンバータを適用するプロパティ名の並び。各要素は{@literal null}や空文字列であってはいけません * @return このインスタンス自身 * @see NumberConverter */ public CopyOptions numberConverter(final String pattern, final CharSequence... propertyNames) { assertArgumentNotEmpty("pattern", pattern); return converter(new NumberConverter(pattern), propertyNames); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 18.6K bytes - Viewed (0)