Add CheckedValue future bridge methods 88/71188/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 21 Apr 2018 13:26:09 +0000 (15:26 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 21 Apr 2018 13:26:09 +0000 (15:26 +0200)
commitff9f0636054cd491dd858a359f88385a8fb10ef7
treee58a07675a3553ab9d91e22cd46073e2f2baf64c
parent1187f38b7bb69f2e79cf2e5524f485b8ce983a0b
Add CheckedValue future bridge methods

This patch adds convenience methods to convert a CheckedValue
into a immediately-complete {Completable,Fluent}Future as well
as bridge methods to complete existing {Completable,Settable}Futures
with the contained value.

Change-Id: I9abf3c76b62e591f83b5a219bea434429053164e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/CheckedValue.java