79703928

Date: 2025-07-16 19:23:46
Score: 2.5
Natty:
Report link

Either make the array private in your class and take responibility that you never modify it or use some library that does it for you. I'd recommend for example Eclipse Collections and its "primitive collections"
https://github.com/eclipse-collections/eclipse-collections/blob/master/docs/2-Collection_Containers.adoc#primitive-collections

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ales Dolecek