In Java 8 it’s possible to put static methods on interfaces. Why aren’t all of the Collector-related static methods on the Collector interface? Isn’t the old pattern of interface X and class Xs (such as Collection/Collections or Path/Paths) obsolete?
Static methods on interfaces are indeed a new tool in the toolbox. That means older tools […]