jest typem java

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