Add exercice for adapters in Java, to be compared with type classes.