Commit Graph

21 Commits

Author SHA1 Message Date
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
bdfeab4912 - iterator first on all structures with reversible iterators 2016-06-26 22:50:14 +02:00
Emir Pasic
f8b0747409 - iterator last on all structures with reversible iterators 2016-06-26 22:27:08 +02:00
Emir Pasic
b86d413e66 - iterator reset on all structures 2016-06-26 20:50:49 +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
ef9baa808a - golint 2016-06-24 21:52:16 +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
beb6027d2f - documentation updates 2016-06-24 04:12:22 +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
e4c3d8a0d8 - split iterators into two type (iterator with index and iterator with key) 2016-06-22 19:59:08 +02:00
Emir Pasic
549ece1100 - iterator implementation
- tests for arraylist enumerable operations
2016-06-22 04:53:38 +02:00
Emir Pasic
6fefe7cc24 - iterator tests
- container_test fix
2016-06-22 03:42:35 +02:00
Emir Pasic
3b3edfc539 - naming conventions (calling interfaces by what they are) 2016-06-22 03:09:48 +02:00
Emir Pasic
f9305332a4 - expose comparator in binary heap
- fix comment
2016-03-28 08:01:46 +02:00
Emir Pasic
c5826ac043 sorting on containers, lists and as a utils method (test+documentation) 2015-03-08 03:13:26 +01:00
emirpasic
be9edcef3c - creating a common containers interface for all data structures 2015-03-07 19:23:43 +01:00