Commit Graph

233 Commits

Author SHA1 Message Date
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
Emir Pasic
60c2f3af71 - add enumerable and iterator to doubly linked list 2016-06-22 05:26:48 +02:00
Emir Pasic
c685593e6e - rewrite enumerable operations using iterator (for easier copy/paste into other containers) 2016-06-22 05:11:41 +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
67a965af0c Update .travis.yml 2016-06-22 03:34:53 +02:00
Emir Pasic
8eefb7e191 Update .travis.yml 2016-06-22 03:27:43 +02:00
Emir Pasic
342ccbef84 - naming conventions (calling interfaces by what they are) 2016-06-22 03:15:08 +02:00
Emir Pasic
3b3edfc539 - naming conventions (calling interfaces by what they are) 2016-06-22 03:09:48 +02:00
Emir Pasic
98bde950bc Merge branch 'master' into enumerable 2016-06-22 02:34:06 +02:00
Emir Pasic
69dacb6c69 - remove debugging info 2016-06-22 00:05:22 +02:00
Emir Pasic
04706e8d03 - start on enumarables (arraylist implemented) 2016-06-21 05:31:00 +02:00
Emir Pasic
a35f503961 Merge pull request #11 from emirpasic/list_insert
List inserts
2016-06-21 03:45:07 +02:00
Emir Pasic
56b8a59488 - update all lists to use "value" terminology for coherence, e.g. Add(values...) rather than Add(elements...) 2016-06-21 03:39:47 +02:00
Emir Pasic
dd0fbaa365 - add insert for doublylinkedlist 2016-06-21 03:29:29 +02:00
Emir Pasic
875dab737f - add insert for singlylinkedlist 2016-06-21 03:15:02 +02:00
Emir Pasic
c7abdd28b3 - add insert for list and arraylist 2016-06-21 02:22:20 +02:00
Emir Pasic
888e7f29b1 Merge pull request #10 from emirpasic/treemap_min_max
Additions to red-black tree and tree map
2016-06-13 01:22:12 +02:00
Emir Pasic
16d751cd27 - Add Min() and Max() function to the tree map with test and documentation update 2016-06-13 01:05:07 +02:00
Emir Pasic
d13e3d6b6a - Add Left(), Right(), Floor() and Ceiling() function to the red black tree with test and documentation update 2016-06-13 00:52:16 +02:00
Emir Pasic
160299d0f7 - fix spelling mistake everywhere (expacted -> expected) and go vet/fmt 2016-06-12 15:04:33 +02:00
Emir Pasic
84af8bb166 Merge pull request #9 from vlad-alexandru-ionescu/master
Add ability to get leftmost (minimum) and rightmost (maximum) keys in…
2016-06-12 14:45:30 +02:00
Vlad Alexandru Ionescu
6bfa9f318d Add ability to get leftmost (minimum) and rightmost (maximum) keys in treemap. 2016-04-19 21:38:32 +01:00
Emir Pasic
f9305332a4 - expose comparator in binary heap
- fix comment
2016-03-28 08:01:46 +02:00
Emir Pasic
e23a60aaae Merge pull request #5 from emirpasic/redblacktree-node-export
- expose Comparator in redblacktree and include @otnt changes
2016-03-28 07:55:48 +02:00