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));
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));
For further actions, you may consider blocking this person and/or reporting abuse
👀 Just want to lurk?
That's fine, you can still create an account and turn on features like 🌚 dark mode.
Andres 🐍 in 🇨🇦 -
luthfisauqi17 -
Alexis -
Michael Perez -
Once suspended, sbourke will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, sbourke will be able to comment and publish posts again.
Once unpublished, all posts by sbourke will become hidden and only accessible to themselves.
If sbourke is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to sbourke.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community 👩💻👨💻 safe. Here is what you can do to flag sbourke:
Unflagging sbourke will restore default visibility to their posts.
Top comments (2)
Hello,
it creates a new instance of RecallAtK
Java came a long way since version 5. Java 8 introduced method references, see baeldung.com/java-method-references for examples...