public static List<Apple> filterGreenApples(List<Apple> inventory) {
        List<Apple> filteredApples = new ArrayList<>();
        for (Apple apple : inventory) {
            if(Apple.AppleColor.GREEN.equals(apple.getColor())) {
                filteredApples.add(apple);
            }
        }
        return filteredApples;
    }