I have a class that has an int and a string as follows:
public class Data {
int _value;
String _name;
}
and I have an ArrayList of these called list
ArrayList<Data> list;
Is there a way to construct an array of _values and another array of _names from the ArrayList?
Thank you!
0 comments:
Post a Comment