In a trivial case, this should be possible with a HashMap<K, ()> wrapper, which is what I'm doing right now. A nicer API would be handy for this case, though.
HashSet added, but almost identical to HashMap without a new method added. Please open another issue if you have a nice idea on the API set of HashSet.
In a trivial case, this should be possible with a
HashMap<K, ()>
wrapper, which is what I'm doing right now. A nicer API would be handy for this case, though.