-
-
Notifications
You must be signed in to change notification settings - Fork 616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce LinkedMap and LinkedSet interfaces #2707
Comments
Maybe, you could use the upcoming Sequenced Collection interfaces, or make the new interfaces compatible with them? |
I would gladly use new Java interfaces, but io.vavr.collection.LinkedHashMap is not supporting it. Similar io.vavr.collection.LinkedHashSet is implementing Set interface. So if you define LinkedSet or SequencedSet interface that will be implemented by LinkedHashSet, it will be great, also. |
I need in my code to distinguish LinkedMap and Map as a field declaration, and function parameter. Using LInkedHashMap is inconvenient, because required always to cast result of Value.toLinkedMap(...) method to LInkedHashMap. Having Intermediate interface LinkedMap like SortedMap, will be very helpful.
Similar applies to LinkedSet interface.
The text was updated successfully, but these errors were encountered: