#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 лет назад
Владелец

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 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.