I need to know that is there a alternative to MultiSet in java?
How to implement it in java
In this article it is written that there is no guaranteed order whereas in c++ it stores the element in sorted order
Hey @unforgettable_pawan
In which line is it written that there is no guaranteed order
I can’t find it
5th line after the Heading. " Duplicates allowed, but no guaranteed order. "
SortedSet maintains sorted order but it can’t contain duplicate items
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.