#58 CQuery: internal state should be invisible

Cerrada
abierta hace 4 años por ranides · 4 comentarios

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 comentado hace 4 años
Propietario

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 comentado hace 4 años
Propietario

sort - OK

sort - OK
ranides comentado hace 4 años
Propietario

we should implement copy-on-write list/set

we should implement copy-on-write list/set
ranides mencionada esta incidencia en un commit hace 4 años
ranides comentado hace 4 años
Propietario

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 mencionada esta incidencia en un commit hace 4 años
Inicie sesión para unirse a esta conversación.
Sin Milestone
Sin asignado
1 participantes
Cargando...
Cancelar
Guardar
Aún no existe contenido.