Java, Architecture, Clean Code, Solid, Programming.
List<Movie> getBasicContent(List<Movie> movies) { return movies.stream() .filter(movie -> SubscriptionType.STANDARD.equals(movie.getSubscriptionType())) .collect(Collectors.toList()); } public static List<Movie> getPremiumContent(List<Movie> movies) { return movies .stream() .filter(movie ->