You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UnifiedSetWithHashingStrategy has the addOrReplace() method which performs with O(1) complexity. When you call .asSynchronized() on a UnifiedSetWithHashingStrategy, you get a MutableSet which is the interface that does not have the addOrReplace() method.
Any way we can use the class UnifiedSetWithHashingStrategy in a synchronized context and hence still retain the get(), put() and addOrReplace() methods?
The text was updated successfully, but these errors were encountered:
UnifiedSetWithHashingStrategy
has the addOrReplace() method which performs with O(1) complexity. When you call.asSynchronized()
on a UnifiedSetWithHashingStrategy, you get aMutableSet
which is the interface that does not have theaddOrReplace()
method.Any way we can use the class
UnifiedSetWithHashingStrategy
in a synchronized context and hence still retain the get(), put() and addOrReplace() methods?The text was updated successfully, but these errors were encountered: