 or interface in java.lang" class="externalLink">String</a>&nbsp;flag)</pre>
<div class="block">Add the specified user flag to this Flags object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>flag</code> - the flag to add</dd>
</dl>
</li>
</ul>
<a id="add(jakarta.mail.Flags)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;add&#8203;(<a href="Flags.html" title="class in jakarta.mail">Flags</a>&nbsp;f)<