s-day07-常用的函数式接口_Consumer

This commit is contained in:
2026-08-08 11:47:34 +08:00
parent 9774ac3f0b
commit 59a3c1f0c8
5 changed files with 54 additions and 4 deletions
@@ -0,0 +1,6 @@
package com.inmind.functional_consumer03;
@FunctionalInterface
public interface MyInterface2 {
void accept(Integer i);
}