Closed benn876 closed 1 year ago
Nu era ok doar sa returnezi valoare field-ului? Tu ai facut un stream si le-ai adunat intr-o Lista
Da. Era mai simplu, avand in vedere ca HashSet extinde Set, iar Set extinde deja Collection.
Nu era ok doar sa returnezi valoare field-ului? Tu ai facut un stream si le-ai adunat intr-o Lista