You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tki-sor edited this page Jun 18, 2025
·
1 revision
Want to process data but don’t want to write for-loops because it’s too troublesome?
Try using Stream.
// Convert Strings to ints Stream.of("1","2","3").map(s=>{Integer.parseInt(s)})
Maybe you know Java and think Streams are performance-heavy and want to avoid them? No worries, this uses the StreamEx library, which works basically like the original Stream but is much faster.