- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for asIntArray (0.14 sec)
-
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
* */ public class ArrayUtilTest { /** * @throws Exception */ @Test public void testAsArray() throws Exception { assertArrayEquals(new int[] { 1, 2 }, ArrayUtil.asIntArray(1, 2)); assertArrayEquals(new Object[] { "a", 2 }, ArrayUtil.asArray("a", 2)); assertArrayEquals(new String[] { "a", "b" }, ArrayUtil.asArray("a", "b"));
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
return elements; } /** * Returns an array of {@literal int}. * * @param elements the elements of the array * @return the array */ public static int[] asIntArray(final int... elements) { return elements; } /** * Returns an array of {@literal long}. * * @param elements the elements of the array * @return the 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)