Java Syntax question
sbourke
Posted on February 12, 2020
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));
💖 💪 🙅 🚩
sbourke
Posted on February 12, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.