A Software Garderner

 

Renaud Humbert-Labeaumaz

Intersection Types in Java

This blog post aims to explain how we can use intersection types in Java when we expect an object that implements different interfaces. The Interface Segregation Principle (ISP) stipulates that interfaces should contain the least amount of methods as possible. In other terms, a client…

Continue reading...