- 博客(1)
- 收藏
- 关注
原创 点餐系统2
(2)Predicate写法 private static <T> boolean judgeByPredicate(T t, Predicate<T> predicate) { return predicate.test(t); } private static void test03() { boolean judgeByPredicate = judgeByPredicate("zhangsan", t -> t.length() > 5); System.out
2021-05-31 14:30:04
98
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅