jga: Generic Algorithms for Java
A useful find, via Elliote Rusty Harold: jga: Generic Algorithms for Java is a library for definining functor-style generic algorithms in Java. Examples here. I used SML on one project, years ago, and I’ve been enamoured of the functor-style of coding ever since. Of course, it’s not nearly so fun if you can’t write lambda-expressions and partial applications, but JGL does look like a useful tool that shouldn’t have much, if anything, in the way of hidden costs.