-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Simplify reading sets, maps, and lists #13893
Copy link
Copy link
Closed
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>enhancementdiscuss
Description
While working on removing ImmutableMap and ImmutableSet I've seen a ton of different fun ways to read immutable maps, sets, and lists. If we're willing to use Java 8's function pointer things we could remove lots of duplicated code by creating readMap, readSet, and readList in StreamInput. We could probably also do something similar for writing these but I haven't thought as much about it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>enhancementdiscuss
Type
Fields
Give feedbackNo fields configured for issues without a type.