Commit Graph

357 Commits

Author SHA1 Message Date
Emir Pasic
02f40db0cf - test iterator end on reverse-iterable data structures
- fix red-black tree
2016-06-27 02:42:05 +02:00
Emir Pasic
f052c96069 - iterator end on reverse-iterable data structures 2016-06-27 00:41:32 +02:00
Emir Pasic
57162feff5 - rename Reset() to Begin() in iterators (this will allow End() which will make reverse loops more readable) 2016-06-27 00:08:01 +02:00
Emir Pasic
cbc23a5b79 - test iterator first on all iterable data structures 2016-06-26 23:58:23 +02:00
Emir Pasic
bdfeab4912 - iterator first on all structures with reversible iterators 2016-06-26 22:50:14 +02:00
Emir Pasic
3d1014bf63 - test iterator last on all structures with reversible iterators 2016-06-26 22:40:49 +02:00
Emir Pasic
f8b0747409 - iterator last on all structures with reversible iterators 2016-06-26 22:27:08 +02:00
Emir Pasic
3a938233a0 - test iterator reset on all structures 2016-06-26 21:44:23 +02:00
Emir Pasic
b86d413e66 - iterator reset on all structures 2016-06-26 20:50:49 +02:00
Emir Pasic
d5a7c62629 Merge pull request #18 from emirpasic/reverse_iterator
Reverse iterator
2016-06-25 21:03:58 +02:00
Emir Pasic
eb4bb224e3 - add reversible iterators to tree set and tree map 2016-06-25 21:01:33 +02:00
Emir Pasic
178bc76d62 - add reversible iterators to red-black tree 2016-06-25 20:45:43 +02:00
Emir Pasic
ae143689c6 - add reversible iterators to binary heap 2016-06-25 19:26:08 +02:00
Emir Pasic
b304f5eb58 - add reversible iterators to array stack 2016-06-25 19:11:20 +02:00
Emir Pasic
d7a31571cc - add reversible iterators to lists (array list and doubly-linked list)
- documentation and tests updates
2016-06-25 18:17:48 +02:00
Emir Pasic
59bebe43ce - update all documentation to be in godoc style 2016-06-25 17:02:21 +02:00
Emir Pasic
2ccfba5f93 - replace timsort with go's sort 2016-06-25 05:51:41 +02:00
Emir Pasic
c874c09c6d Merge pull request #17 from emirpasic/timsort_replace
- replace timsort with go's sort
2016-06-25 05:37:22 +02:00
Emir Pasic
7b3992bef3 - replace timsort with go's sort 2016-06-25 05:35:13 +02:00
Emir Pasic
faeea55fc9 Update README.md 2016-06-24 21:58:18 +02:00
Emir Pasic
e271d95ae2 Merge pull request #15 from emirpasic/report_card
Report card
2016-06-24 21:54:56 +02:00
Emir Pasic
ef9baa808a - golint 2016-06-24 21:52:16 +02:00
Emir Pasic
35457aba81 - fix spelling 2016-06-24 20:27:34 +02:00
Emir Pasic
ab6656e286 - refactor trees' tests 2016-06-24 20:23:54 +02:00
Emir Pasic
fe7fb7b07b - refactor stacks' tests 2016-06-24 19:57:54 +02:00
Emir Pasic
a86a65ffaf - refactor sets' tests 2016-06-24 19:51:42 +02:00
Emir Pasic
9992983a60 - refactor sets' tests 2016-06-24 19:51:21 +02:00
Emir Pasic
d07be9402c - refactor maps' tests 2016-06-24 19:38:16 +02:00
Emir Pasic
616c850bff - refactor list's tests 2016-06-24 19:17:50 +02:00
Emir Pasic
4d3c47ce2a - go report badge 2016-06-24 18:29:35 +02:00
Emir Pasic
0631cc2647 Update README.md 2016-06-24 17:56:26 +02:00
Emir Pasic
714650c5a4 Merge pull request #12 from emirpasic/enums
Iterators and Enumerables
2016-06-24 07:15:08 +02:00
Emir Pasic
f3b33064fa - update examples and documentation 2016-06-24 07:08:11 +02:00
Emir Pasic
544abaeab1 - remove map and select functions from enumerable interface, because this requires type assertions in chaining, which is really ugly and unnecessary. the only drawback is that one might forget to implement those functions and interface implementations asserts will not register that. (need help on this) 2016-06-24 06:20:24 +02:00
Emir Pasic
8aba2d70fe - update main documentation
- create examples for enumerables operations
2016-06-24 06:18:51 +02:00
Emir Pasic
beb6027d2f - documentation updates 2016-06-24 04:12:22 +02:00
Emir Pasic
07e8634b62 Update README.md 2016-06-24 02:41:16 +02:00
Emir Pasic
49c50d0c4d Update README.md 2016-06-24 00:30:35 +02:00
Emir Pasic
8cb4635c2c - code document all enumarable functions and iterators in containers 2016-06-24 00:08:04 +02:00
Emir Pasic
f0206f2457 - add enumerable to tree map 2016-06-22 21:30:00 +02:00
Emir Pasic
3b6a40775a - split enumerables into enumerables with keys and with indexes (same was done for iterators) 2016-06-22 21:03:51 +02:00
Emir Pasic
7346ca6337 - add iterator to tree map 2016-06-22 20:56:18 +02:00
Emir Pasic
e9377a48f6 - add enumerable to tree set 2016-06-22 20:42:25 +02:00
Emir Pasic
0418a59aaf - add iterator to tree set 2016-06-22 20:18:37 +02:00
Emir Pasic
e4c3d8a0d8 - split iterators into two type (iterator with index and iterator with key) 2016-06-22 19:59:08 +02:00
Emir Pasic
255a3095cb - add iterator to redblack tree 2016-06-22 19:47:24 +02:00
Emir Pasic
6c3a5ce1cc - add iterator to binary heap 2016-06-22 06:18:08 +02:00
Emir Pasic
f35d68c85d - add iterator to linked list stack 2016-06-22 06:04:14 +02:00
Emir Pasic
8e0280ece6 - add iterator to array stack 2016-06-22 05:56:09 +02:00
Emir Pasic
76f36e4980 - add enumerable and iterator to singly linked list 2016-06-22 05:29:21 +02:00