List of usage examples for java.util.stream IntStream mapToObj
<U> Stream<U> mapToObj(IntFunction<? extends U> mapper);
From source file:Main.java
public static void main(String[] args) { IntStream i = IntStream.of(6, 5, 7, 1, 2, 3, 3); Stream<String> d = i.mapToObj(n -> Integer.toBinaryString(n)); d.forEach(System.out::println); }