a few minutes with scala plus java