Class StackMap.StackMapEntry<KEY,​VALUE>

  • All Implemented Interfaces:
    java.util.Map.Entry<KEY,​VALUE>
    Enclosing class:
    StackMap<K,​V>

    public class StackMap.StackMapEntry<KEY,​VALUE>
    extends java.lang.Object
    implements java.util.Map.Entry<KEY,​VALUE>
    Immutable class for a Key/Value tuple.
    • Method Summary

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

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

        equals, hashCode
    • Constructor Detail

      • StackMapEntry

        public StackMapEntry​(KEY key,
                             VALUE value)
    • Method Detail

      • getKey

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

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

        public VALUE setValue​(VALUE value)
        Specified by:
        setValue in interface java.util.Map.Entry<KEY,​VALUE>