org.feijoas.mango.common.cache
Adds an asScala
method that converts a Guava RemovalNotification[K, V]
to a Mango RemovalNotification[K, V]
.
Adds an asScala
method that converts a Guava RemovalNotification[K, V]
to a Mango RemovalNotification[K, V]
.
The returned Mango RemovalNotification[K, V]
contains a reference of the
key
and value
from the Guava RemovalNotification[K, V]
wrapped in
a Some[K]
or None
if key
or value
is null
.
the Guava RemovalNotification[K, V]
to convert to a Mango RemovalNotification[K, V]
An object with an asScala
method that returns a Mango RemovalNotification[K, V]
view of the argument