Generalize ForwardingIdentityObject 20/83720/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 16 Aug 2019 17:01:18 +0000 (19:01 +0200)
committerRobert Varga <nite@hq.sk>
Sat, 17 Aug 2019 09:12:30 +0000 (09:12 +0000)
commite979de76d42b828ec6e4ba58c581932b131bd3e4
tree96609560abc8ab90626d5ae2f43e84b1f8f8374b
parentafaa3e9ffa5b2ba579c369c2ce14506571405349
Generalize ForwardingIdentityObject

Wrapping objects in identity comparison is useful, and there
seems to be no readily-avaible utility. This introduces an
extension to ForwardingObject and a simple utility class to
implement its construct.

JIRA: YANGTOOLS-1016
Change-Id: If0d7a2f731b0a294570f8ba39ce5da7236e2c752
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 6a039ee1b2179eb5b77ca30a366e866970806547)
common/util/src/main/java/org/opendaylight/yangtools/util/ForwardingIdentityObject.java [new file with mode: 0644]
common/util/src/main/java/org/opendaylight/yangtools/util/concurrent/QueuedNotificationManager.java