commit | 928bb445efe0a1c27b950dad4de749c705b0c346 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Wed Sep 14 16:37:45 2022 +0000 |
committer | Kweku Adams <kwekua@google.com> | Wed Sep 14 16:37:45 2022 +0000 |
tree | 8dcb673d8e2cf1392a76592fd40208dd22943f1d | |
parent | b91f96a938e964d69d7888188a260d384eef7b5f [diff] |
Return the previous value when adding a new one. It would be nice to be able to get the previous value when adding a new one without having to do a separate get() call. Bug: 243987091 Test: atest CtsUtilTestCases:SparseArrayMapTest Change-Id: I763c08443b9376f5142abd1aa817f1c61990f4be