As everyone else said, Java doesn't support functions as first-level objects. To achieve this, you use a Functor, which is a class that wraps a function. Steve Yegge has a nice rant about that.
To help you with this limitation, people write functor libraries: jga, Commons Functor