Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mutable View for Struct Elements #84

Merged
merged 8 commits into from
Dec 7, 2023

Commits on Oct 23, 2023

  1. Add Mutable View for Struct Elements

    Adds a MutableStructFields interface which represents an iterable sequence of
    mutable fields that can be used to construct a StructElement.
    tcostigl committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    70894f0 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Configuration menu
    Copy the full SHA
    cdbcc98 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Refactor MutableStructFields

    * Change `mutableStructFields` from property to method
    * Remove `copy` StructElement, method 6can be added later
    * Added `update` StructElement, method
    Tom Costigliola committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    a1d3f90 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Change MutableStructFields to Implement MutableCollection

    Implementing MutableCollection instead of Iterator will allow extra
    functionality built into MutableCollection. To simplify implementing
    `iterator()` on MutableStructFields the internal backing field was also changed
    to MutableMap<String, MutableList<StructField>> at the expense of slightly more
    overhead because the underlying struct's field name is stored in the map key as
    well as value. This can be optimized in the future if desired.
    Tom Costigliola committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    5d5c0f3 View commit details
    Browse the repository at this point in the history
  2. Revert formatting change

    Tom Costigliola committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    56b71f3 View commit details
    Browse the repository at this point in the history
  3. Revert formatting change

    Tom Costigliola committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    35fa210 View commit details
    Browse the repository at this point in the history
  4. Add Missing Test Cases

    Tom Costigliola committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    8d00943 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    ecc1b95 View commit details
    Browse the repository at this point in the history