Make OffsetMaps work on direct values 71/26671/3
authorRobert Varga <rovarga@cisco.com>
Tue, 8 Sep 2015 20:59:44 +0000 (22:59 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 10 Sep 2015 07:13:02 +0000 (07:13 +0000)
commited6fff67cb0fed454ea6654752f23dc9f914c04d
tree98a7005c8cc6761783d5ba83a9df777035c36e92
parent94ce73de754dde1d931d7d19e6eeb79de997bdef
Make OffsetMaps work on direct values

We do not really have a use-case for lazy values at this point. Remove
the capability, opting for increased efficiency instead.

Change-Id: Ie0c66d0c91c8fcdca44a2c8e49b6e9263c8a58df
Signed-off-by: Robert Varga <rovarga@cisco.com>
common/util/src/main/java/org/opendaylight/yangtools/util/AbstractLazyValueMap.java [deleted file]
common/util/src/main/java/org/opendaylight/yangtools/util/ConstantArrayCollection.java [new file with mode: 0644]
common/util/src/main/java/org/opendaylight/yangtools/util/ImmutableOffsetMap.java
common/util/src/main/java/org/opendaylight/yangtools/util/MutableOffsetMap.java
common/util/src/test/java/org/opendaylight/yangtools/util/OffsetMapTest.java