Consider the following code:
for(int i = 0;i < 200;i++)
{
ArrayList currentList = new ArrayList() {{
add(i);
}};
/
ArrayList currentList = new ArrayList() {{
add(i);
}};
is creating a new instance of the anonymous class each time through your loop, it's not redefining or reloading the class every time. The class is defined once (at compile time), and loaded once (at runtime).
There is no significant performance hit from using anonymous classes.