Commit Graph

26 Commits (master)

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 74d62f4f1e SonarQube 2 years ago
Emir Pasic 1dd397e12c SonarQube fixes 2 years ago
Emir Pasic 41012c6c58 Improve code coverage 2 years ago
Emir Pasic e2b92bbc7a Interface implementation assertions moved outside the functions 2 years ago
Emir Pasic 1f0b87f0e1 Implements json.Marshaler and json.Unmarshaler interfaces 2 years ago
Emir Pasic b5735bcc4d
Merge pull request #165 from yvvlee/feature/implements_jsonMarshaler_and_Unmarshaler
Implements json.Marshaler and json.Unmarshaler interfaces
2 years ago
Emir Pasic 69d2184011 Implement GetNode() for BTree AVLTree and RedBlackTree and Node() function for their iterators 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
mshadow c9a2dcad62 Implements json.Marshaler and json.Unmarshaler 3 years ago
emirpasic 5123d6be01 - fix comments/documentation, rigorous serialization testing 6 years ago
Emir Pasic 7eadb02f45 - all trees (de)serialization 7 years ago
Emir Pasic 0790df9fd0 - errcheck 8 years ago
Emir Pasic efcbbe6274 - detailed extensive tests with breakdown on number of elements 8 years ago
Emir Pasic b38c99bf33 - btree deletion fixes with more tests (done) 8 years ago
Emir Pasic 288c1a4ca3 - btree deletion with tests 8 years ago
Emir Pasic eb4171fdb0 - btree Keys() and Values() implemented with tests (using iterator) 8 years ago
Emir Pasic 53898058bb - btree iterator implemented with tests 8 years ago
Emir Pasic 76711f5b71 - btree don't allow order less than 3
- btree Left(), Right(), LeftKey(), RightKey(), LeftValue(), RightValue() implementation with tests
8 years ago
Emir Pasic 4e3ff20469 - btree get and put tests 8 years ago
Emir Pasic 9663093961 - btree put fixes 8 years ago
Emir Pasic 2df9ce1ab5 - btree put fixes 8 years ago
Emir Pasic eecaef5625 - btree Height() and String() implementations 8 years ago
Emir Pasic ab73314ad4 - btree expose its root, nodes and entries (for extension purposes) 8 years ago
Emir Pasic 28b826151a - btree insertion with tests 8 years ago
Emir Pasic 9563b15010 - btree insertion with tests 8 years ago