Iterator support seek ? #66
Labels
No labels
bug
discussion
documentation
duplicate
ignore
new feature
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
golibs/gms-gods#66
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Any follow up plan to add "seek" function for treemap ? like:
@zhengxiaochuan-3 sure, let's keep this issue open and see if more people vote for it.
Any plan for this feature?
@asdine looks like it's on the road map given the number of up votes
Related to #95
#189 brings in the two new functions that can help achieve the above, i.e. NextTo() and PrevTo()
Given the above comment on requested functionality, this can now be achieved with:
For a working example refer to: https://github.com/emirpasic/gods/blob/master/examples/iteratorwithkey/iteratorwithkey.go#L71-L80
Please let me know if the above is not what was requested so I can reopen this issue.