Class NamedIterableAdapter.NamedEntry<V>

  • All Implemented Interfaces:
    java.util.Map.Entry<java.lang.String,​V>
    Enclosing class:
    NamedIterableAdapter<V>

    private static final class NamedIterableAdapter.NamedEntry<V>
    extends java.lang.Object
    implements java.util.Map.Entry<java.lang.String,​V>
    String mapping Map.Entry backed by a Named mapping Map.Entry.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map.Entry<com.google.inject.name.Named,​V> entry  
    • Constructor Summary

      Constructors 
      Constructor Description
      NamedEntry​(java.util.Map.Entry<com.google.inject.name.Named,​V> entry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()  
      V getValue()  
      V setValue​(V value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map.Entry

        equals, hashCode
    • Field Detail

      • entry

        private final java.util.Map.Entry<com.google.inject.name.Named,​V> entry
    • Constructor Detail

      • NamedEntry

        NamedEntry​(java.util.Map.Entry<com.google.inject.name.Named,​V> entry)
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<java.lang.String,​V>
      • getValue

        public V getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<java.lang.String,​V>
      • setValue

        public V setValue​(V value)
        Specified by:
        setValue in interface java.util.Map.Entry<java.lang.String,​V>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object