convert list of long to list of big integer code example
Example: list of BigInteger to list of long
List<Long> longList = bigIntegerList.stream().map(BigInteger::longValue).collect(Collectors.toList());
List<Long> longList = bigIntegerList.stream().map(BigInteger::longValue).collect(Collectors.toList());