ist Typ Java
List y;
...
if (y instanceof ArrayList) {
...its and ArrayList...
}
Naughty Newt
List y;
...
if (y instanceof ArrayList) {
...its and ArrayList...
}