Documentation of 'edu.jas.util.MapEntry' Java class
MapEntry
edu.jas.util

Class MapEntry<K,V>

  • All Implemented Interfaces:
    java.util.Map.Entry<K,V>


    public class MapEntry<K,V>
    extends java.lang.Object
    implements java.util.Map.Entry<K,V>
    MapEntry helper class implements Map.Entry. Required until JDK 1.6 becomes every where available.
    See Also:
    in JDK 1.6.
    • Constructor Summary

      Constructors 
      Constructor and Description
      MapEntry(K k, V v)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object b)
      Comparison with any other object.
      K getKey()
      Get the key.
      V getValue()
      Get the value.
      int hashCode()
      Hash code for this MapEntry.
      V setValue(V value)
      Set the value.
      • Methods inherited from class java.lang.Object

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

        comparingByKey, comparingByKey, comparingByValue, comparingByValue
    • Constructor Detail

      • MapEntry

        public MapEntry(K k,
                        V v)
        Constructor.
    • Method Detail

      • getKey

        public K getKey()
        Get the key.
        Specified by:
        getKey in interface java.util.Map.Entry<K,V>
        See Also:
        Map.Entry.getKey()
      • getValue

        public V getValue()
        Get the value.
        Specified by:
        getValue in interface java.util.Map.Entry<K,V>
        See Also:
        Map.Entry.getValue()
      • setValue

        public V setValue(V value)
        Set the value. Is not implemented.
        Specified by:
        setValue in interface java.util.Map.Entry<K,V>
        See Also:
        Map.Entry
      • equals

        public boolean equals(java.lang.Object b)
        Comparison with any other object.
        Specified by:
        equals in interface java.util.Map.Entry<K,V>
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Hash code for this MapEntry.
        Specified by:
        hashCode in interface java.util.Map.Entry<K,V>
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.