Hardened against undefined values within an array by creating ArrayStreamImpl. This type of stream will never be empty until it has reached the end of the array. This allows for any number of undefined values within the array to be piped through without ending the stream prematurely