K
- The class of the keys in the EntryV
- The class of the Values in the Entrypublic class MyReadOnlyEntry<K,V>
extends java.lang.Object
implements java.util.Map.Entry<K,V>
Constructor and Description |
---|
MyReadOnlyEntry(K key,
V value)
Creates the MyReadOnlyEntry
|
MyReadOnlyEntry(java.util.Map.Entry<K,V> underlyingEntry)
Creates the MyReadOnlyEntry from an underlying Entry object
|
public MyReadOnlyEntry(java.util.Map.Entry<K,V> underlyingEntry)
underlyingEntry
- the underlying Entry object