Weird java generics…

February 7, 2008 by Michael

Generics are not totally bad but one can write really creepy things:

final FutureTask<Collection<LeitungsachseTK25>[]> ft = new FutureTask<Collection<LeitungsachseTK25>[]>(
    new Callable<Collection<LeitungsachseTK25>[]>() {
        public Collection<LeitungsachseTK25>[] call() throws Exception {

Seems like XML and Java finally married… 😉

No comments yet

Post a Comment

Your email is never published nor shared. Required fields are marked *