correct examples

pull/1/head
buddhamagnet 9 years ago
parent 538ed6b0eb
commit 59e8cf4cdd

@ -202,7 +202,7 @@ import (
)
func main() {
list := arraylist.New()
list := sll.New()
list.Add("a") // ["a"]
list.Add("c", "b") // ["a","c","b"]
list.Sort(utils.StringComparator) // ["a","b","c"]
@ -239,7 +239,7 @@ import (
)
func main() {
list := arraylist.New()
list := dll.New()
list.Add("a") // ["a"]
list.Add("c", "b") // ["a","c","b"]
list.Sort(utils.StringComparator) // ["a","b","c"]

Loading…
Cancel
Save