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

Support for remove() #7

Closed
adipascu opened this issue Sep 7, 2016 · 3 comments
Closed

Support for remove() #7

adipascu opened this issue Sep 7, 2016 · 3 comments

Comments

@adipascu
Copy link

adipascu commented Sep 7, 2016

No description provided.

@davecom
Copy link
Owner

davecom commented Sep 7, 2016

Hi @ADI1133,
There is already a pop() method. Do you mean a method that pops but does not return a value? What is the use case for having it instead of just ignoring the return value of pop()?

@adipascu
Copy link
Author

adipascu commented Sep 7, 2016

I need to update the position of an item. In java I remove and push back the item. My issue can be solved by a remove or update method that takes in a specific item.

@davecom
Copy link
Owner

davecom commented Sep 14, 2016

@ADI1133
I have added these methods to the latest commit. Check it out and perhaps add additional unit tests. Thanks.

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

No branches or pull requests

2 participants