The last time I used Java was 1.5, could someone let me know what the ::new does ?
namedWriteables.add(new NamedWriteableRegistry.Entry(EvaluationMetric.class, RecallAtK.NAME, RecallAtK::new));
原文链接:Java Syntax question
© 版权声明
THE END
The last time I used Java was 1.5, could someone let me know what the ::new does ?
namedWriteables.add(new NamedWriteableRegistry.Entry(EvaluationMetric.class, RecallAtK.NAME, RecallAtK::new));
原文链接:Java Syntax question
暂无评论内容