Link to home
Start Free TrialLog in
Avatar of zollen
zollen

asked on

How to retrieve the parameterized type of a Collection object?

For example:

List<Integer> abc = new ArrayList<Integer>();

What java reflection API(s) for retrieving the parameterized type of the above collection object? (i.e. Integer).
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

ASKER CERTIFIED SOLUTION
Avatar of a_b
a_b

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial