Question d’entretien chez Informatica

How do you make a list/map as immutable within an immutable class

Réponse à la question d'entretien

Utilisateur anonyme

25 mars 2018

On get call of list/map return an Collections.unmodifiableList(new ArrayList(modifiable)); value

1