commit | c7ebd4c91bdbf00faed2b9935b818c781803edd1 | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Fri Apr 05 23:32:15 2019 -0400 |
committer | Jim Hahn <jrh3@att.com> | Sat Apr 06 08:00:39 2019 -0400 |
tree | 0f590656ac46ea5d7a8fe1aa225f4a0d35e1e147 | |
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>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy Model code that is agnostic to any PDP. It is common amongst all the repositories.
To build it using Maven 3, run: mvn clean install