3 ms·
That's a good point. Using lockPointers would be a good way to enforce at runtime that your ArrayList is truly read-only.
by _bohm 1mo ago
That's a good point. Using lockPointers would be a good way to enforce at runtime that your ArrayList is truly read-only.