Stream - Tki-sor/UtilJS GitHub Wiki
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.