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.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

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