JAVA学习
从最基础的知识点开始总结
凉水沏茶
还在自学摸索阶段,欢迎讨论
展开
-
探索Java中Predicate接口的使用
直接上Predicate的源码:public interface Predicate<T> { /** * Evaluates this predicate on the given argument. */ boolean test(T t); /** * Returns a composed predicate that represents a short-circuiting logical * AND of this转载 2021-08-24 23:41:28 · 243 阅读 · 0 评论 -
Eclipse添加class报错
新版eclipse在直接添加class时,会直接报错,让用户删除class类这是因为在创建class的过程中出现了问题解决办法是在:创建class的时候同时需要给你的class所在的包进行命名(下图中的Package中输入你想输入的名字)结果如下图(class成功创建成功):...原创 2021-05-08 13:31:26 · 2778 阅读 · 1 评论