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

added func element(equalTo element:Element) -> Element? #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alekseykolchanov
Copy link

@alekseykolchanov alekseykolchanov commented Sep 19, 2016

Hi!

I offer you to extend functionality of OrderedSet with function element(equalTo:) -> Element?
It gives developers O(1) complexity access to required elements in the OrderedSet.

Also I changed replaceRange function to keep the order of internal array

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

Successfully merging this pull request may close these issues.

1 participant