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
add Copy to (Array)List #97
Comments
@dvaerum sounds reasonable, let me mediate on this. if implemented, you are right, it should be for all structures. not sure if this would be able to copy a linked-list into array-list, so perhaps what you need is a |
You can call But since you want to call it |
Frankly I am not sure if there is much difference, so it's best to ask you if |
I would say it is sufficiently intuitive 😄 so let's stick to what everyone else does 👍 |
PR #150 implemented Clone for all ArrayList, SinglyLinkedList and DoublyLinkedList. |
I could really use the function Copy on ArrayList, but it would probably also make sense to add it to the other lists.
I can see that the function Values (on ArrayList) returns an copy of the internal array, but I would like to keep interface ArrayList
The text was updated successfully, but these errors were encountered: