Created
May 15, 2018 22:00
-
-
Save motlin/5715b579e4415fd09de0f8317ee90871 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HashingStrategy<Person> strategy = | |
HashingStrategies.fromFunction(Person::getSystemId); | |
MutableSet<Person> people = | |
new UnifiedSetWithHashingStrategy<>(strategy); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment