Answers for "java 8 - convert char[] to stream<character>"

0

java char stream to string

Stream<Character> testStream = Stream.of('a', 'b', 'c');

String result = testStream.collect(Collector.of(
    StringBuilder::new,
    StringBuilder::append,
    StringBuilder::append,
    StringBuilder::toString));
Posted by: Guest on May-18-2021

Code answers related to "java 8 - convert char[] to stream<character>"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language