- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toObjectArray (0.17 sec)
-
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
final Object[] a = ArrayUtil.toObjectArray(new int[] { 1, 5, 2 }); assertArrayEquals(new Integer[] { new Integer(1), new Integer(5), new Integer(2) }, a); } /** * @throws Exception */ @Test(expected = IllegalArgumentException.class) public void testToObjectArray_NoArray() throws Exception { ArrayUtil.toObjectArray("a"); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.6K bytes - Viewed (0) -
.idea/inspectionProfiles/idea_default.xml
</replaceConfiguration> <replaceConfiguration name="toObjectArray" text="$collection$.toArray(new Object[$collection$.size()])" recursive="false" caseInsensitive="true" type="JAVA" reformatAccordingToStyle="true" shortenFQN="true" replacement="com.intellij.util.ArrayUtil.toObjectArray($collection$)"> <constraint name="collection" within="" contains="" /> </replaceConfiguration>
XML - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Nov 09 20:59:03 GMT 2023 - 32.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
* 変換元の配列にはプリミティブ型の配列を渡すことができます。 その場合、変換された配列の要素型はプリミティブ型に対応するラッパー型の配列となります。 * </p> * * @param array * 配列 * @return オブジェクトの配列 */ public static Object[] toObjectArray(final Object array) { assertArgumentNotNull("array", array); assertArgument("array", array.getClass().isArray(), MessageFormatter.getSimpleMessage("ECL0104", array));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 42.6K bytes - Viewed (0)