You cannot specify the type of a collection at runtime, and it is not useful to do so.
Java is a statically typed language. That means that the compiler needs to know all the types of the variables when you compile the program. If you don't know the type at compile time, you can't make use of Java's static type checking. If you know the type only at runtime, then that's too late for type checking by the compiler - because when your program is running, it has already been compiled.
So, there is no way to do this. It's like you want to eat the cake before you bake it.