Basically I have an array of integers and I need to change that to an array of an object which takes an integer for the constructor. I was just wondering if this was possible using a stream in java 11.