Random java samples