Skip to content
accelerando

Weird java generics…

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… ;)

Post a Comment

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

*
Close
E-mail It