StephenHawking9 Posted July 29, 2012 Share Posted July 29, 2012 (edited) Hi Experts, I have started learning java recently and looking into some practice exercise. Just wante to know if there is a easy way, to convert a List of java.lang.Integer objects to array of primitive int type (not integer). Something like List<Integer> to int []? Or I need to loop through each element in list and convert it? Please let me know. Please feel free to move this thread to right location just in case I have posted this in the wrong place. Thanks in advance. Edited July 29, 2012 by StephenHawking9 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now