Skip to content

Simplify reading sets, maps, and lists #13893

@nik9000

Description

@nik9000

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions