Skip to content
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

Multimaps #6

Open
Col-E opened this issue Aug 17, 2022 · 1 comment
Open

Multimaps #6

Col-E opened this issue Aug 17, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Col-E
Copy link
Owner

Col-E commented Aug 17, 2022

Can possibly leverage delegating map to manage set/list backed multi-maps.

@Col-E Col-E added the enhancement New feature or request label Aug 17, 2022
@Col-E
Copy link
Owner Author

Col-E commented Sep 9, 2022

Normal idea:

  • SetMultiMap<K, Set<V>>
  • ListMultiMap<K, List<V>>

Goofy idea:

  • QueueMultiMap<K, Queue<V>>
    • Can have pollKey(K) to operate on queue associated with K
  • StackMultiMap<K, Stack<V>>
    • Same idea, but with stacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant