Here you can find the source of makeStream(final Object[] array)
private static Stream<String> makeStream(final Object[] array)
//package com.java2s; /*/*from w ww . j av a 2 s . c o m*/ * Copyright (c) 2013 - 2015 Naios <naios-dev@live.de> * * This file is part of WIde which is released under Creative Commons 4.0 (by-nc-sa) * See file LICENSE for full license details. */ import java.util.Arrays; import java.util.stream.Stream; public class Main { private static Stream<String> makeStream(final Object[] array) { return Arrays.stream(array).map(Object::toString); } }