Class MapEntrySetStore.EntryImpl<K,​V>

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

    private static class MapEntrySetStore.EntryImpl<K,​V>
    extends java.lang.Object
    implements java.util.Map.Entry<K,​V>
    Inner class representing the entry in the map.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private K key  
      private org.datanucleus.store.types.scostore.MapStore<K,​V> mapStore  
      private org.datanucleus.state.DNStateManager ownerSM  
      private V value  
    • Constructor Summary

      Constructors 
      Constructor Description
      EntryImpl​(org.datanucleus.state.DNStateManager sm, K key, V value, org.datanucleus.store.types.scostore.MapStore<K,​V> mapStore)  
    • Field Detail

      • ownerSM

        private final org.datanucleus.state.DNStateManager ownerSM
      • key

        private final K key
      • value

        private final V value
      • mapStore

        private final org.datanucleus.store.types.scostore.MapStore<K,​V> mapStore
    • Constructor Detail

      • EntryImpl

        public EntryImpl​(org.datanucleus.state.DNStateManager sm,
                         K key,
                         V value,
                         org.datanucleus.store.types.scostore.MapStore<K,​V> mapStore)
    • Method Detail

      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Map.Entry<K,​V>
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.util.Map.Entry<K,​V>
        Overrides:
        equals in class java.lang.Object
      • 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 value)
        Specified by:
        setValue in interface java.util.Map.Entry<K,​V>