src/java.base/share/classes/java/util/AbstractMap.java
changeset 58520 e036ee8bae56
parent 57956 e0b8b019d2f5
child 58679 9c3209ff7550
equal deleted inserted replaced
58519:6e017b301287 58520:e036ee8bae56
   605         implements Entry<K,V>, java.io.Serializable
   605         implements Entry<K,V>, java.io.Serializable
   606     {
   606     {
   607         @java.io.Serial
   607         @java.io.Serial
   608         private static final long serialVersionUID = -8499721149061103585L;
   608         private static final long serialVersionUID = -8499721149061103585L;
   609 
   609 
       
   610         @SuppressWarnings("serial") // Conditionally serializable
   610         private final K key;
   611         private final K key;
       
   612         @SuppressWarnings("serial") // Conditionally serializable
   611         private V value;
   613         private V value;
   612 
   614 
   613         /**
   615         /**
   614          * Creates an entry representing a mapping from the specified
   616          * Creates an entry representing a mapping from the specified
   615          * key to the specified value.
   617          * key to the specified value.
   736         implements Entry<K,V>, java.io.Serializable
   738         implements Entry<K,V>, java.io.Serializable
   737     {
   739     {
   738         @java.io.Serial
   740         @java.io.Serial
   739         private static final long serialVersionUID = 7138329143949025153L;
   741         private static final long serialVersionUID = 7138329143949025153L;
   740 
   742 
       
   743         @SuppressWarnings("serial") // Not statically typed as Serializable
   741         private final K key;
   744         private final K key;
       
   745         @SuppressWarnings("serial") // Not statically typed as Serializable
   742         private final V value;
   746         private final V value;
   743 
   747 
   744         /**
   748         /**
   745          * Creates an entry representing a mapping from the specified
   749          * Creates an entry representing a mapping from the specified
   746          * key to the specified value.
   750          * key to the specified value.