Method passed as a parameter?? The first time I'm hearing this!
Don't feel bad about it
As Marc says, Java doesn't have this, but other languages do, e.g. C has had this for a long time.
It is of course possible in Java to define an interface that has only a single method, and use that as the callback, which would be pretty close.