Java Syntax question

sbourke

sbourke

Posted on February 12, 2020

Java Syntax question

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
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.

Related