/**
  * 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())
 {
 }
Example #2
0
		/// <summary>
		/// Appends the contents of the specified
		/// <code>StringBuffer</code>
		/// . If the
		/// StringBuffer is
		/// <code>null</code>
		/// , then the string
		/// <code>"null"</code>
		/// is
		/// appended.
		/// </summary>
		/// <param name="sb">
		/// the
		/// <code>StringBuffer</code>
		/// to append.
		/// </param>
		/// <returns>this builder.</returns>
		public java.lang.StringBuilder append(java.lang.StringBuffer sb)
		{
			if (sb == null)
			{
				appendNull();
			}
			else
			{
				append0(sb.getValue(), 0, sb.Length);
			}
			return this;
		}
 /**
  * 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())
 {
 }