A multiple dispatch implementation in Java.