Class Maps.TransformedEntriesMap<K,​V1,​V2>

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      boolean containsKey​(java.lang.Object key)  
      (package private) java.util.Iterator<java.util.Map.Entry<K,​V2>> entryIterator()  
      (package private) java.util.Spliterator<java.util.Map.Entry<K,​V2>> entrySpliterator()  
      void forEach​(java.util.function.BiConsumer<? super K,​? super V2> action)  
      V2 get​(java.lang.Object key)  
      V2 getOrDefault​(java.lang.Object key, V2 defaultValue)  
      java.util.Set<K> keySet()  
      V2 remove​(java.lang.Object key)  
      int size()  
      java.util.Collection<V2> values()  
      • Methods inherited from class java.util.AbstractMap

        clone, containsValue, equals, hashCode, isEmpty, put, putAll, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • TransformedEntriesMap

        TransformedEntriesMap​(java.util.Map<K,​V1> fromMap,
                              Maps.EntryTransformer<? super K,​? super V1,​V2> transformer)
    • Method Detail

      • containsKey

        public boolean containsKey​(java.lang.Object key)
        Specified by:
        containsKey in interface java.util.Map<K,​V1>
        Overrides:
        containsKey in class java.util.AbstractMap<K,​V2>
      • get

        public V2 get​(java.lang.Object key)
        Specified by:
        get in interface java.util.Map<K,​V1>
        Overrides:
        get in class java.util.AbstractMap<K,​V2>
      • getOrDefault

        public V2 getOrDefault​(java.lang.Object key,
                               V2 defaultValue)
      • remove

        public V2 remove​(java.lang.Object key)
        Specified by:
        remove in interface java.util.Map<K,​V1>
        Overrides:
        remove in class java.util.AbstractMap<K,​V2>
      • keySet

        public java.util.Set<K> keySet()
        Specified by:
        keySet in interface java.util.Map<K,​V1>
        Overrides:
        keySet in class java.util.AbstractMap<K,​V2>
      • forEach

        public void forEach​(java.util.function.BiConsumer<? super K,​? super V2> action)
      • values

        public java.util.Collection<V2> values()
        Specified by:
        values in interface java.util.Map<K,​V1>
        Overrides:
        values in class java.util.AbstractMap<K,​V2>