code: @SafeVarargs
      public static <T> Stream<T> buildStream(T... array) {
          return JMOptional.getOptional(array).map(Arrays::stream)
                  .orElseGet(Stream::empty);
      }
docs: Build stream stream.
  
  @param <T>   the type parameter
  @param array the array
  @return the stream