Immutable/Unmodifable ArrayWrappers #26

Closed
opened 2022-10-16 14:34:18 +02:00 by Speiger · 0 comments
Owner

Basically if you want to make a array in a collection unmodifable you have to doublewrap or copy the provided array.

Have a UnmodifableList.unsafeWrap that effectively trusts the owner.

Basically if you want to make a array in a collection unmodifable you have to doublewrap or copy the provided array. Have a UnmodifableList.unsafeWrap that effectively trusts the owner.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Speiger/Primitive-Collections#26
No description provided.