no explicit downcastingavoids instanceofclean and easy to usestrongly typedworks with classes that we have no control over, including JDK
This small utility was developed with Akka and Java API in mind to limit the usage of instanceof op…