convert list of long to big int 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());