Commit Graph

32 Commits (14f714261f50e6d3e4af1cd29e4ae11ffdedab94)

Author SHA1 Message Date
Paul Chesnais 14f714261f
Generics migration (#237)
* Generics migration

This attempts to migrate this library in the least invasive way by preserving as
much of the original API as possible. It does not change the tests in a
meaningful way nor does it attempt to upgrade any logic that can be simplified
or improved with generics. This is purely an API migration, and still requires a
lot of additional work to be fully ready.

* Fix a few broken tests around serialization

* Add v2 suffix

* Temporarily change mod name for testing

* Rename module to /v2
5 months ago
Emir Pasic 41012c6c58 Improve code coverage 2 years ago
Emir Pasic 1f0b87f0e1 Implements json.Marshaler and json.Unmarshaler interfaces 2 years ago
Emir Pasic 08ae493e8a Implement NextTo and PrevTo for all iterators and containers (index or key, forward-only or reversable) 2 years ago
emirpasic 4bc610bb3f TreeMap Floor and Ceiling functions 6 years ago
Emir Pasic 95d9cc1eea
Merge pull request #82 from loxp/master
Add Floor and Ceiling method to Treemap
6 years ago
emirpasic cbce19f31e - linked hash map core implementation + iterator + enumerable + tests + serialization (TODO: examples + documentation) 6 years ago
emirpasic 5123d6be01 - fix comments/documentation, rigorous serialization testing 6 years ago
loxp 1078d10189 Add Floor and Ceiling method to Treemap 6 years ago
Emir Pasic 232f8d8a62 - tree-map and tree-bidi-map (de)serialization 7 years ago
Emir Pasic efcbbe6274 - detailed extensive tests with breakdown on number of elements 8 years ago
Emir Pasic b41257272c - TreeBidiMap enumerable implemented (with tests) 8 years ago
Emir Pasic 213367f1ca - replace long bsd text with short in all .go files 8 years ago
Emir Pasic 02f40db0cf - test iterator end on reverse-iterable data structures
- fix red-black tree
8 years ago
Emir Pasic 57162feff5 - rename Reset() to Begin() in iterators (this will allow End() which will make reverse loops more readable) 8 years ago
Emir Pasic cbc23a5b79 - test iterator first on all iterable data structures 8 years ago
Emir Pasic 3d1014bf63 - test iterator last on all structures with reversible iterators 8 years ago
Emir Pasic 3a938233a0 - test iterator reset on all structures 8 years ago
Emir Pasic eb4bb224e3 - add reversible iterators to tree set and tree map 8 years ago
Emir Pasic b304f5eb58 - add reversible iterators to array stack 8 years ago
Emir Pasic ef9baa808a - golint 8 years ago
Emir Pasic d07be9402c - refactor maps' tests 8 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) 8 years ago
Emir Pasic f0206f2457 - add enumerable to tree map 8 years ago
Emir Pasic 7346ca6337 - add iterator to tree map 8 years ago
Emir Pasic 16d751cd27 - Add Min() and Max() function to the tree map with test and documentation update 8 years ago
Vlad Alexandru Ionescu 6bfa9f318d Add ability to get leftmost (minimum) and rightmost (maximum) keys in treemap. 8 years ago
Emir Pasic 48ad2d72e6 go vetting 9 years ago
emirpasic 3aa0eeddfb ArrayList addition (inc. test, example and documentation) 9 years ago
emirpasic a2f7d2482e switching to BSD-style license [http://www.reddit.com/r/golang/comments/2y2x5v/gods_data_structures_for_go/cp6a90n] 9 years ago
Emir Pasic 0f320a5e72 hashmap implemented (inc. tests) 9 years ago
Emir Pasic 5e01f1c81f treemap (inc. tests) 9 years ago