Streams Flashcards
Given method: map
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
N
Function< ?super T>,< ? extends R>
Given method: filter
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
N
Predicate < ? super T>
Given method: flatMap
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
N
Function super T, ? extends Stream extends R»
Given method: peek
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
N
Consumer super T>
Given method: distinct
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
N
none
Given method: sorted
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
N
none
Given method: dropWhile
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
N
Predicate super T>
Given method: skip
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
N
long
Given method: limit
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
Y
long
Given method: takeWhile
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Intermediate
Y
Predicate super T>
Given method: forEach
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Terminal
N
Consumer super T>
Given method: forEachOrdered
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Terminal
N
Consumer super T>
Given method: count
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Terminal
N
long count()
Given method: min
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Terminal
N
Comparator< ?super T>
Given method: max
Intermediate/Terminal
Short-circuit: Y/N
Parameter list?
Terminal
N
Optional< T> max (Comparator< ?super T>)