#58 CQuery: internal state should be invisible

Затворено
отворено пре 4 година од ranides · 4 коментара
ranides коментирира пре 4 година

Internal source list/array/collection should not be exposed by #list #set or #array methods.

#sort and #reverse method should not have impact on source collections too.

We should implement this using SharedList

Internal source list/array/collection should not be exposed by #list #set or #array methods. #sort and #reverse method should not have impact on source collections too. We should implement this using `SharedList`
ranides коментирира пре 4 година
Власник

Może zamiast zabawy w SharedList powinniśmy po prostu dodać metody: listview() i tyle?

Może zamiast zabawy w SharedList powinniśmy po prostu dodać metody: listview() i tyle?
ranides коментирира пре 4 година
Власник

sort - OK

sort - OK
ranides коментирира пре 4 година
Власник

we should implement copy-on-write list/set

we should implement copy-on-write list/set
ranides поменуо овај задатак у комит пре 4 година
ranides затворено пре 4 година
ranides коментирира пре 4 година
Власник

copy-on-write list is implemented.

methods reviewed:

  • list returns CopyList or new list.
  • set returns new set
  • array returns always new array (cloned)
  • sort returns new list
  • reverse returns reversed read-only list.
copy-on-write list is implemented. methods reviewed: - `list` returns CopyList or new list. - `set` returns new set - `array` returns always new array (cloned) - `sort` returns new list - `reverse` returns reversed read-only list.
ranides поменуо овај задатак у комит пре 4 година
Пријавите се да се прикључе у овом разговору.
Нема фазе
Нема одговорних
1 учесника
Учитавање...
Откажи
Сачувај
Још нема садржаја.