Yes I understand this is the only way to add code to List interface but it looks odd.
Jeanne Boyarsky wrote:I gave a presentation today on Java 8 interfaces and Dates. I made a comment that "if you add a default method to new code, you are doing something wrong." I think the use of adding functional type methods to collections is a good one.
That is a good point. If we need to add a default method then may be it should be an abstract class.