interface Predicate {
boolean test(T t);
}
// 기본적으로 문법은 다음과 같습니다.
(파라미터 값, ...) -> { 함수 몸체 }
public int toLambdaMethod(int x, int y) { return x + y; }
람다 함수 적용 : (x, y) -> x + y
public int toLambdaMethod2() { return 100; }
람다 함수 적용 : () -> 100
public void toLambdaMethod3() { System.out.println("Hello World"); }
람다 함수 적용 : () -> System.out.println("Hello World")
> git rebase -i HEAD~[거슬러 올라갈 커밋 수]
pick을 reword로 변경 후 저장> git push origin main -f