Class OptionUnpackingMap<K,​V>

  • All Implemented Interfaces:
    ConcurrentMap<K,​V>, Map<K,​V>

    @ExperimentalApi
    public class OptionUnpackingMap<K,​V>
    extends Object
    implements ConcurrentMap<K,​V>
    This class provides an adapter between a Map containing Option values and a map providing direct nullable values. It's meant to be used for Google nullable Caches, which do not have mutability. If you're planning on using it, make sure you UT the method you're using! It says experimental in the annotation below!