Commit Graph

26 Commits

Author SHA1 Message Date
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
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
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
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
9f6dbf940a add swap method on all lists 2015-03-14 00:36:10 +01:00
Emir Pasic
bc2bc08324 binary heap 2015-03-13 02:07:44 +01:00
Emir Pasic
092a115642 - add swap method to arraylist (consider adding this on all lists) 2015-03-13 00:06:49 +01:00
Emir Pasic
133677039b change growth factor to doube 2015-03-10 23:30:00 +01:00
Emir Pasic
3aa1340d55 singly linked list (test+documentation). simplify of doubly linked list remove method 2015-03-10 04:14:40 +01:00
Emir Pasic
af024c9a3e documentation on doubly linked list 2015-03-10 03:21:01 +01:00
Emir Pasic
1eafbc82c5 doubly linked list 2015-03-10 02:58:57 +01: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
emirpasic
756f33ad9a - cleanup reference in remove method of array list 2015-03-07 18:26:03 +01:00
emirpasic
8e5760a16e - make ArrayStack make use of our ArrayList
- add Values() method to stacks interface
- write tests
2015-03-07 18:19:58 +01:00
emirpasic
3aa0eeddfb ArrayList addition (inc. test, example and documentation) 2015-03-07 17:09:47 +01:00