Useful links, small snippets, notes etc. should be gathered in this file.
- immutability
- final arguments
- no side effects
- SRP
- function reference (functional interfaces - consumer, ...)
- java.util.DateTime
- default methods (traits)
- forEach side effects
- misusage
- broken JavaDoc because of "improvements"
- paths to files ('/' at the beginning of path)
- maximum example
- joining
- filtering
- map
- flat map
- stream of streams (Stream.concat )
- collector
2 examples of map-based repositories:
- classic with lists and getters returning null
- functional with
- mapping function for adding
- get returning optional
- lambda filters