Commit Graph

26 Commits (5ef8ba68000bb7e5d989c04bebcdcafa5668459f)

Author SHA1 Message Date
emirpasic c6630349c4 - bulk initialization for lists 7 years ago
emirpasic 17852f48a5 - update documentation and comments 7 years ago
Blake Miner 843fdb4848 Added `Set(index, value)` method to all Lists (closes #86)
Added tests
7 years ago
Emir Pasic 65869799a0
Revert "Revert "gofmt"" 7 years ago
Emir Pasic 076c527d93
Revert "gofmt" 7 years ago
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>
7 years ago
Mahadev f246a54621 Add IndexOf method to ArrayList 8 years ago
Emir Pasic 0dcb10bcab - JSON serialization for all lists 9 years ago
Emir Pasic efcbbe6274 - detailed extensive tests with breakdown on number of elements 9 years ago
Emir Pasic 213367f1ca - replace long bsd text with short in all .go files 9 years ago
Emir Pasic 02f40db0cf - test iterator end on reverse-iterable data structures
- fix red-black tree
9 years ago
Emir Pasic 57162feff5 - rename Reset() to Begin() in iterators (this will allow End() which will make reverse loops more readable) 9 years ago
Emir Pasic cbc23a5b79 - test iterator first on all iterable data structures 9 years ago
Emir Pasic 3d1014bf63 - test iterator last on all structures with reversible iterators 9 years ago
Emir Pasic 3a938233a0 - test iterator reset on all structures 9 years ago
Emir Pasic d7a31571cc - add reversible iterators to lists (array list and doubly-linked list)
- documentation and tests updates
9 years ago
Emir Pasic 616c850bff - refactor list's tests 9 years ago
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) 9 years ago
Emir Pasic 3b6a40775a - split enumerables into enumerables with keys and with indexes (same was done for iterators) 9 years ago
Emir Pasic 60c2f3af71 - add enumerable and iterator to doubly linked list 9 years ago
Emir Pasic 549ece1100 - iterator implementation
- tests for arraylist enumerable operations
9 years ago
Emir Pasic c7abdd28b3 - add insert for list and arraylist 9 years ago
Emir Pasic bc2bc08324 binary heap 11 years ago
Emir Pasic 092a115642 - add swap method to arraylist (consider adding this on all lists) 11 years ago
Emir Pasic c5826ac043 sorting on containers, lists and as a utils method (test+documentation) 11 years ago
emirpasic 3aa0eeddfb ArrayList addition (inc. test, example and documentation) 11 years ago