I wanna know is there any way to pass generic type to another Class as an argument.
In other words. I have SomeClass<T> and AnotherClass.
I wanna AnotherClass to have an instance field of Type <T> who would be initialized in constructor.
(I want SomeClass to be list of AnotherClass objects. Another Class would have 3 instance fields reference to previous AnotherClass object reference to next AnotherClass object and a T type field.