Typescript Map Array To Another Array In Java