2020-05-06から1日間の記事一覧
Object型からプリミティブ型でラッパーが必要になる宿命から、、 Integerリストから、int[] が欲しい時の為に、、、 public static int[] toIntArrays(Collection<Integer> values){ int[] iary = (int[])Array.newInstance(int.class, values.size()); int n = 0; fo</integer>…
Object型からプリミティブ型でラッパーが必要になる宿命から、、 Integerリストから、int[] が欲しい時の為に、、、 public static int[] toIntArrays(Collection<Integer> values){ int[] iary = (int[])Array.newInstance(int.class, values.size()); int n = 0; fo</integer>…