- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for Integer (0.17 sec)
-
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(Integer.class); assertThat((Integer) beanDesc.newInstance(10), is(10)); assertThat((Integer) beanDesc.newInstance("10"), is(10)); } /** * @throws Exception */ @Test public void testNewInstance2() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(Integer.class);
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 13.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
*/ List<String> genericList(List<Integer> param); /** * @param param * @return 戻り値 */ @SuppressWarnings("rawtypes") Map rawMap(Map param); /** * @param param * @return 戻り値 */ Map<String, Class<?>> genericMap(Map<Integer, String> param); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BooleanConversionUtilTest.java
/** * @throws Exception */ public void testToBoolean() throws Exception { assertEquals("1", Boolean.TRUE, BooleanConversionUtil.toBoolean(Integer.valueOf(1))); assertEquals("2", Boolean.FALSE, BooleanConversionUtil.toBoolean(Integer.valueOf(0))); assertEquals("3", Boolean.FALSE, BooleanConversionUtil.toBoolean("0")); assertEquals("4", Boolean.TRUE, BooleanConversionUtil.toBoolean("1"));
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
*/ public static Object convertPrimitiveWrapper(final Class<?> type, final Object o) { if (type == int.class) { final Integer i = IntegerConversionUtil.toInteger(o); if (i != null) { return i; } return Integer.valueOf(0); } else if (type == double.class) { final Double d = DoubleConversionUtil.toDouble(o); if (d != null) {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java
assertThat(converter.getAsString(new Integer("100")), is("100")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception { final NumberConverter converter = new NumberConverter("##0"); assertThat(converter.isTarget(Integer.class), is(true)); assertThat(converter.isTarget(Timestamp.class), is(not(true))); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
* * @param cause * 原因となった例外 */ public SQLRuntimeException(final SQLException cause) { super("ECL0072", asArray(getSql(cause), getRealMessage(cause), Integer.toString(cause.getErrorCode()), cause.getSQLState()), cause); } /** * <code>SQL</code>を返します。 * * @param cause * 原因となった例外 * @return <code>SQL</code> */
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MapsTest.java
import org.junit.Test; /** * @author koichik */ public class MapsTest { /** * @throws Exception */ @Test public void test() throws Exception { final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); assertThat(map.size(), is(3)); assertThat(map.get("a"), is(1)); assertThat(map.get("b"), is(2)); assertThat(map.get("c"), is(3)); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
} final byte[] digest = msgDigest.digest(); final StringBuilder buffer = new StringBuilder(200); for (final byte element : digest) { final String tmp = Integer.toHexString(element & 0xff); if (tmp.length() == 1) { buffer.append('0').append(tmp); } else { buffer.append(tmp); } }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
* @throws Exception */ @Test public void testGet() throws Exception { final Field field = getClass().getField("objectField"); final Integer testData = new Integer(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetIntField() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.1K bytes - Viewed (0) -
src/main/resources/CLMessages.properties
ECL0011=argument[{0}] is null or empty array. ECL0012=argument[{0}] is null or empty collection. ECL0013=argument[{0}] is null or empty map. ECL0014=argument[{0}] which is null the index of array is negative integer. ECL0015=argument[{0}] which is null the index of array exceed the size of array[{1}]. ECL0016=key[{0}] is not included in this BeanMap : {1}. ECL0017=Exception occurred, because {0} ECL0041={0}''s creation failure, because {1}
Properties - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:58:02 GMT 2024 - 3.1K bytes - Viewed (0)