ArrayList<String> x = new ArrayList<String>();
for(int i = 0; i < x.size(); i++)
{
ArrayList<String> x.get(i) = new ArrayList<String>();
}
Both ArrayLists should be declared globally
The x
ArrayList values are: server,buser,paer cook, runner, etc.
The first ArrayList value should be second ArrayList name(variable)