Java, Architecture, Clean Code, Solid, Programming.
SubscriptionType.VIP.equals(movie.getSubscriptionType())) .collect(Collectors.toList()); } public static List<Movie> getContentForUserWithBasicAccess(List<Movie> movies) { return getBasicContent(movies); } public static List<Movie> getContentForUserWithUnlimitedAccess(List<Movie> movies, User user)