Oh. Is there any way I can include more than one, but a never finite amount of generics (safely)?
I really want to use it for something like this:
classContainer<...T>{publicContainer(String[]names,Object[]values){intpos=0;for(Stringname:names){ClassType=T[pos];// T-POS!?!?/* Code to make a fake class ere */pos++;}}}
Having something like that'd be cool.
Thanks for you answer.
Cheers.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Oh. Is there any way I can include more than one, but a never finite amount of generics (safely)?
I really want to use it for something like this:
Having something like that'd be cool.
Thanks for you answer.
Cheers.