Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[january-dev] immutable


Is there a way to make Dataset immutable like when you call Collections.unmodifiableList(...)

I have some code which currently always does an arraycopy on the float[] before returning data from getters. If I replaced the float[] with FloatDataset which had been made immutable, I would not have to copy the data to retain encapsulation.


Back to the top