728x90
728x90
lambda식
-
Lambda 식 / ArrayList를 사용한 Stream 연산JAVA 2020. 5. 28. 20:09
고객 Class public class Customer { private String name; private int age; private int price; public Customer(String name, int age, int price) { super(); this.name = name; this.age = age; this.price = price; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } public int g..