What you are referring to is in JavaScript but what he is looking for is in Java.