#58 CQuery: internal state should be invisible

クローズ
4 年 前ranides によって開かれました · 4 コメント
ranides4 年 前 にコメントしました

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`
ranides4 年 前 にコメントしました
オーナー

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?
ranides4 年 前 にコメントしました
オーナー

sort - OK

sort - OK
ranides4 年 前 にコメントしました
オーナー

we should implement copy-on-write list/set

we should implement copy-on-write list/set
ranides この課題がコミット 4 年 前 から参照されました
ranides 4 年 前 に閉じられました
ranides4 年 前 にコメントしました
オーナー

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 参加者
読み込み中…
キャンセル
保存
まだコンテンツがありません