use of com.uwetrottmann.tmdb.entities.CrewMember in project philm by chrisbanes.
the class TmdbCrewEntityMapper method mapCredits.
public List<PhilmMovieCredit> mapCredits(List<CrewMember> entities) {
final ArrayList<PhilmMovieCredit> credits = new ArrayList<>(entities.size());
for (CrewMember entity : entities) {
credits.add(new PhilmMovieCredit(map(entity), entity.job, entity.department));
}
Collections.sort(credits);
return credits;
}
Aggregations