One import static to rule them all (original) (raw)
Remi Forax forax at univ-mlv.fr
Wed Feb 6 16:06:37 PST 2013
- Previous message: Collectors update redux
- Next message: One import static to rule them all
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I wonder if we should not create one artificial interface that extends Collector, FlatMapper, etc, i.e. every interfaces that declare static methods that can be used by the Stream API just because it will be easier to do an import static on this interface.
interface StaticDefaults // better name needed extends Collector<Void, Void>, FlatMapper<Void,Void> { }
otherwise, every Java projects will define its own one.
cheers, Rémi
- Previous message: Collectors update redux
- Next message: One import static to rule them all
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list