At work today I ended up having to write this because Callable<V> wasn’t flexible enough for what I needed:
public interface Operation<V, E extends Throwable> {
V execute() throws E;
}
…would love to see this (as well as a Pair<A,B> class) in a future cut of Java.






Introducing RestFB, a Java Facebook REST API Client
Just wanted to mention that I’ve written a Facebook REST API client called RestFB, which is available under the terms of the MIT license.
If you need to do a Facebook Connect implementation in Java, please give it a try and let me know what you think!