Final defenders
Daniel Latrémolière
daniel.latremoliere at gmail.com
Tue Aug 7 09:49:20 PDT 2012
> - What about static methods: being considered by the EG
Interesting. I hope this will be used in collections to avoid direct use
of implementing classes and allow programming only with used interface
(in many use-cases):
public interface List {
...
public static List createRandomAccess() {
return new ArrayList();
}
public static List createSequentialAccess() {
return new LinkedList();
}
}
Thanks,
Daniel Latrémolière.
More information about the lambda-dev
mailing list