raduandreipopescu / course9-homework

0 stars 0 forks source link

La getAllFlowers #4

Closed benn876 closed 1 year ago

benn876 commented 1 year ago

Nu era ok doar sa returnezi valoare field-ului? Tu ai facut un stream si le-ai adunat intr-o Lista

raduandreipopescu commented 1 year ago

Da. Era mai simplu, avand in vedere ca HashSet extinde Set, iar Set extinde deja Collection.