I need a small Container-Class for storing some Strings which should be immutable. As String itself is an immutable type, I thought of something like that:
It is not very clear if someone is going to use your code through an API.
You are also missing an opportunity to validate the input, if you are going to require some later.