Class WarrantPreferencesPanel.DataPair<K,​V>

  • Type Parameters:
    K - key class
    V - value class
    All Implemented Interfaces:
    java.util.Map.Entry<K,​V>
    Enclosing class:
    WarrantPreferencesPanel

    static class WarrantPreferencesPanel.DataPair<K,​V>
    extends java.lang.Object
    implements java.util.Map.Entry<K,​V>
    Retain the key/value pair of a Map or Dictionary as a pair.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) K key  
      (package private) V value  
    • Constructor Summary

      Constructors 
      Constructor Description
      DataPair​(java.util.Map.Entry<K,​V> entry)  
      DataPair​(K k, V v)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      K getKey()  
      V getValue()  
      (package private) void setKey​(K k)  
      V setValue​(V v)  
      • 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
    • Method Detail

      • getKey

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

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

        public V setValue​(V v)
        Specified by:
        setValue in interface java.util.Map.Entry<K,​V>