Commit Graph

20 Commits (729073a73ce2057955fafa2a8f0ac62b99e950c9)

Author SHA1 Message Date
emirpasic c6630349c4 - bulk initialization for lists 6 years ago
Blake Miner 843fdb4848 Added `Set(index, value)` method to all Lists (closes #86)
Added tests
6 years ago
Emir Pasic 65869799a0
Revert "Revert "gofmt"" 6 years ago
Emir Pasic 076c527d93
Revert "gofmt" 6 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>
6 years ago
Mahadev e709a4b5ea Add IndexOf method to SinglyLinkedList 7 years ago
Emir Pasic 696bb0e577 - JSON serialization for all lists (test for singly linked list) 7 years ago
Emir Pasic efcbbe6274 - detailed extensive tests with breakdown on number of elements 8 years ago
Emir Pasic 213367f1ca - replace long bsd text with short in all .go files 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 3a938233a0 - test iterator reset on all structures 8 years ago
Emir Pasic d7a31571cc - add reversible iterators to lists (array list and doubly-linked list)
- documentation and tests updates
8 years ago
Emir Pasic 616c850bff - refactor list's 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 3b6a40775a - split enumerables into enumerables with keys and with indexes (same was done for iterators) 8 years ago
Emir Pasic 76f36e4980 - add enumerable and iterator to singly linked list 8 years ago
Emir Pasic 875dab737f - add insert for singlylinkedlist 8 years ago
Emir Pasic 9f6dbf940a add swap method on all lists 9 years ago
Emir Pasic 3aa1340d55 singly linked list (test+documentation). simplify of doubly linked list remove method 9 years ago