#58 CQuery: internal state should be invisible

Lezárt
megnyitva ekkor: 4 éve ranides által · 4 hozzászólás
ranides hozzászólt 4 éve

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 hozzászólt 4 éve
Tulajdonos

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 hozzászólt 4 éve
Tulajdonos

sort - OK

sort - OK
ranides hozzászólt 4 éve
Tulajdonos

we should implement copy-on-write list/set

we should implement copy-on-write list/set
ranides hivatkozott erre a hibajegyre egy commit-ban ekkor: 4 éve
ranides lezárta ekkor: 4 éve
ranides hozzászólt 4 éve
Tulajdonos

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 hivatkozott erre a hibajegyre egy commit-ban ekkor: 4 éve
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Nincs mérföldkő
Nincs megbízott
1 Résztvevő
Töltés...
Mégse
Mentés
Még nincs tartalom.