- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toObjectArray (0.06 sec)
-
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
final Object[] a = ArrayUtil.toObjectArray(new int[] { 1, 5, 2 }); assertArrayEquals(new Integer[] { Integer.valueOf(1), Integer.valueOf(5), Integer.valueOf(2) }, a); } /** * @throws Exception */ @Test(expected = IllegalArgumentException.class) public void testToObjectArray_NoArray() throws Exception { ArrayUtil.toObjectArray("a"); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
* </p> * * @param array * the array * @return the object array */ public static Object[] toObjectArray(final Object array) { assertArgumentNotNull("array", array); assertArgument("array", array.getClass().isArray(), MessageFormatter.getSimpleMessage("ECL0104", array));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0)