Class CharArrayMap.MapEntry

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

    private final class CharArrayMap.MapEntry
    extends java.lang.Object
    implements java.util.Map.Entry<java.lang.Object,​V>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean allowModify  
      private int pos  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MapEntry​(int pos, boolean allowModify)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object 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

      • pos

        private final int pos
      • allowModify

        private final boolean allowModify
    • Constructor Detail

      • MapEntry

        private MapEntry​(int pos,
                         boolean allowModify)
    • Method Detail

      • getKey

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

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

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

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