Collections
Streams and Iterables
In this short article, we'll explore various StreamSupport methods that allow us to wrap an Iterable instance as a stream of elements.
Checked Collection - stronger type safety
CheckedCollection helps to enforce strong type safety when mixing generic and non-generic code.
Maintaining equals and compareTo contract
Any change in the collection being used should not impact the behavior of a class.
LRU Cache
Least recently used (LRU) eviction policy defines the eviction criteria to control the number of entries present in a cache.