public static String[] buildStringArray(Object... objects) {
        return JMOptional.getOptional(objects).map(Arrays::stream)
                .map(stream -> stream.map(Object::toString)
                        .collect(Collectors.toList())
                        .toArray(new String[objects.length]))
                .orElseGet(JMArrays::getEmptyStringArray);
    }
public static String [ ] buildStringArray ( Object ... objects ) { return JMOptional . getOptional ( objects ) . map ( Arrays :: stream ) . map ( stream -> stream . map ( Object :: toString ) . collect ( Collectors . toList ( ) ) . toArray ( new String [ objects . length ] ) ) . orElseGet ( JMArrays :: getEmptyStringArray ) ; }
Build string array string [ ].

@param objects the objects
@return the string [ ]