diff options
author | Jim Hahn <jrh3@att.com> | 2019-04-05 23:32:15 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-04-06 08:00:39 -0400 |
commit | c7ebd4c91bdbf00faed2b9935b818c781803edd1 (patch) | |
tree | 0f590656ac46ea5d7a8fe1aa225f4a0d35e1e147 /models-interactions/model-yaml | |
parent | 52229882d7ee3e934641de0bd2df74ed1268130e (diff) |
Guaranteed linear-time latestVersion()
This is a proposed revision of the latestVersion() method that's
guaranteed to be linear time. Still makes use of the slick idea
of sorting the list so that items with the same name are adjacent
and in order by version.
Revised to use an array list, which is more like the original code.
Change-Id: If047d4d9630c426c6335f52cb7e5bdda7b6cc0a9
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-interactions/model-yaml')
0 files changed, 0 insertions, 0 deletions