391 Stream流中间操作之map&mapToInt
(复杂的课)
<R> Stream <R> map(Function mapper) |
返回经过指定操作的流,Function接口中的方法R apply(T t) |
intStream mapToInt(ToIntFunction mapper) |
返回一个经过指定操作的IntSt |
391 Stream流中间操作之map&mapToInt
(复杂的课)
<R> Stream <R> map(Function mapper) |
返回经过指定操作的流,Function接口中的方法R apply(T t) |
intStream mapToInt(ToIntFunction mapper) |
返回一个经过指定操作的IntSt |