long类型数组转换成byte
问题描述: 有long类型的数组 long[] a,如何转化为byte、int类型 byte[] b问题泛化:如何把类型A的数组、集合(List、Map、Stack等)转化为类型B .import java.util.Arrays;public class Main { public static void main(String[] args) { // We have a long type array, and want to convert to byte ar
原创
2020-08-23 01:38:28 ·
4303 阅读 ·
0 评论