- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for asIntArray (0.04 seconds)
-
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 */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 41.5K bytes - Click Count (0) -
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"));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 10.6K bytes - Click Count (0)