/** * Constructs a new entry from the specified <code>Map.Entry</code>. * * @param entry the entry to copy, must not be null * @throws NullPointerException if the entry is null */ public UnmodifiableMapEntry(java.util.MapNS.Entry<Object, Object> entry) : base(entry.getKey(), entry.getValue()) { }
/** * Constructs a new pair from the specified <code>Map.Entry</code>. * * @param entry the entry to copy, must not be null * @throws NullPointerException if the entry is null */ public DefaultKeyValue(java.util.MapNS.Entry<Object, Object> entry) : base(entry.getKey(), entry.getValue()) { }