Emir Pasic
|
08ae493e8a
|
Implement NextTo and PrevTo for all iterators and containers (index or key, forward-only or reversable)
|
2022-04-12 01:20:56 +02:00 |
|
yuanjin
|
edc20eca0a
|
- fix arraylist test
|
2020-01-13 17:12:56 +08:00 |
|
emirpasic
|
1befeeefc9
|
- fix comments
|
2018-09-20 23:55:51 +02:00 |
|
emirpasic
|
c6630349c4
|
- bulk initialization for lists
|
2018-09-20 18:40:32 +02:00 |
|
Emir Pasic
|
cbce439b4e
|
Merge pull request #61 from Spriithy/feature/list_constructors
Added bulk constructors for arraylists & (doubly)-linked-lists
|
2018-09-20 18:23:21 +02:00 |
|
emirpasic
|
17852f48a5
|
- update documentation and comments
|
2018-09-20 17:44:34 +02:00 |
|
Blake Miner
|
843fdb4848
|
Added Set(index, value) method to all Lists (closes #86)
Added tests
|
2018-09-19 14:41:47 -04:00 |
|
emirpasic
|
8557a87b9f
|
fmt
|
2018-09-19 05:05:43 +02:00 |
|
Emir Pasic
|
6f0f602e3e
|
Merge pull request #76 from xtutu/master
optimize array list
|
2018-09-19 04:55:21 +02:00 |
|
Emir Pasic
|
65869799a0
|
Revert "Revert "gofmt""
|
2018-06-18 13:13:01 +02:00 |
|
Emir Pasic
|
076c527d93
|
Revert "gofmt"
|
2018-06-17 14:41:40 +02:00 |
|
ia
|
55e94ab1e3
|
all: gofmt
Run standard gofmt command on project root.
- go version go1.10.3 darwin/amd64
Signed-off-by: ia <isaac.ardis@gmail.com>
|
2018-06-17 01:02:33 +02:00 |
|
xtutu
|
5d06966e29
|
optimize array list
|
2018-06-12 13:41:35 +08:00 |
|
Mahadev
|
f246a54621
|
Add IndexOf method to ArrayList
|
2017-12-26 19:18:50 +05:30 |
|
Spriithy
|
12451bdcc6
|
Added bulk constructors for arraylists & (doubly)-linked-lists
|
2017-09-28 14:22:00 +02:00 |
|
Emir Pasic
|
0dcb10bcab
|
- JSON serialization for all lists
|
2017-03-06 01:05:01 +01:00 |
|
Emir Pasic
|
efcbbe6274
|
- detailed extensive tests with breakdown on number of elements
|
2016-07-16 04:40:16 +02:00 |
|
Emir Pasic
|
213367f1ca
|
- replace long bsd text with short in all .go files
|
2016-06-27 04:21:09 +02:00 |
|
Emir Pasic
|
20229603ab
|
- refactor all iterators and enumerables into separate files
|
2016-06-27 04:02:52 +02:00 |
|
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
|
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
|
35457aba81
|
- fix spelling
|
2016-06-24 20:27:34 +02:00 |
|
Emir Pasic
|
616c850bff
|
- refactor list's tests
|
2016-06-24 19:17:50 +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
|
8cb4635c2c
|
- code document all enumarable functions and iterators in containers
|
2016-06-24 00:08:04 +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
|
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
|
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
|
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 |
|