in Java no way. Java is way too verbose. Just to iterate over a simple collection takes 4 lines of code (as opposed to 1 in Smalltalk):
Iterator itr = collection.iterator();
while (itr.hasNext() {
Object something = itr.next();
something.doSomething();
}