Class MapEntry<V>

  • All Implemented Interfaces:
    Optional<V>

    public final class MapEntry<V>
    extends LazyDelegatingOptional<V>
    An Optional element of a Map. This is present if the given Map contains a non-null value for the given key.
    • Constructor Summary

      Constructors 
      Constructor Description
      MapEntry​(java.util.Map<? super K,​? extends V> map, K key)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapEntry

        public MapEntry​(java.util.Map<? super K,​? extends V> map,
                        K key)