Java Stream Operation getStringStreamFromArray(String... ids)

Here you can find the source of getStringStreamFromArray(String... ids)

Description

Returns a stream of strings from a string array

License

Apache License

Parameter

Parameter Description
ids a parameter

Declaration

public static Stream<String> getStringStreamFromArray(String... ids) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.stream.Stream;

public class Main {
    /**//  www  .  ja  v a  2  s  . c  om
     * Returns a stream of strings from a string array
     * @param ids
     * @return
     */
    public static Stream<String> getStringStreamFromArray(String... ids) {
        return Stream.of(ids);
    }
}

Related

  1. flatOptionals(Stream> list)
  2. flattenFeatureStreamToMap( Stream>>> stream)
  3. gcd(IntStream numbers)
  4. getOSIllegalCharacterStream(String path)
  5. getStream(Iterable iterable)
  6. infiniteParallelStream()
  7. interleave(Stream a, Stream b)
  8. isEmpty(final Stream stream)
  9. isFinite(Stream stream)