LoginSignup
0
0

More than 3 years have passed since last update.

StreamAPIの話

Last updated at Posted at 2020-11-23

StreamAPIの話

ストリームAPIとは並列化、直列化

解りやすい記事
https://www.casleyconsulting.co.jp/blog/engineer/191/

mapの説明が解りやすい


public interface Stream<T> ...
  <R> Stream<R> map(Function<T, R> mapper);

map 戻り値ありのコール関数(戻り値と引数あり)を渡して結果を
ストリーム型に変換するもの
http://enterprisegeeks.hatenablog.com/entry/2015/11/30/081118

java.util.stream 順次/並列ストリームについて理解する(直列と並列が解りやすい)

おまけ
javaをVSコードで実行する
※VSコードの説明、コンフィグはユーザー単位、フォルダ単位がある
※プロジェクトを作成してから作成した方が良い

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0