@Nonnull public EmailData removeAllReplyTo () { m_aReplyTo.clear (); return this; }
@Nonnull public EmailData removeAllTo () { m_aTo.clear (); return this; }
@Nonnull public EmailData removeAllCc () { m_aCc.clear (); return this; }
@Nonnull public EmailData removeAllBcc () { m_aBcc.clear (); return this; }
@Nonnull public JSFunction removeAllParams () { m_aParams.clear (); return this; }
/** * Remove all arguments * * @return this */ @Nonnull public IMPLTYPE removeAllArgs () { m_aArgs.clear (); return _thisAsT (); }
public void setDefaultMenuItemID (@Nullable final String sDefaultMenuItemID) { if (sDefaultMenuItemID == null) m_aDefaultMenuItemIDs.clear (); else m_aDefaultMenuItemIDs.set (sDefaultMenuItemID); }
/** * Set the MIC algorithm to use. This overwrites all existing MIC algorithms. * * @param aMICAlgs * The digesting MIC algorithm(s). May be <code>null</code>. * @return this */ @Nonnull public DispositionOptions setMICAlg (@Nullable final Iterable <? extends ECryptoAlgorithmSign> aMICAlgs) { m_aMICAlgs.clear (); if (aMICAlgs != null) for (final ECryptoAlgorithmSign eMICAlg : aMICAlgs) if (eMICAlg != null) m_aMICAlgs.add (eMICAlg); return this; }
/** * Remove all contents of the block. Sets the position to 0. * * @return this */ @Nonnull public IMPLTYPE clear () { m_aObjs.clear (); m_aDecls.clear (); m_nPos = 0; return thisAsT (); }
/** * Remove all resend items. */ public void removeAllResendItems () { final int nItems = getResendItemCount (); if (nItems > 0) { m_aRWLock.writeLocked ( () -> m_aItems.clear ()); if (LOGGER.isInfoEnabled ()) LOGGER.info ("Removed " + nItems + " items from InMemoryResenderModule"); } }
void internalKeepOnlyLast () { final IAuditItem aLastItem = m_aItems.getLast (); m_aItems.clear (); m_aItems.add (aLastItem); }
public void reset () { resetBuffer (); m_aCharacterEncoding = null; m_nContentLength = 0; m_sContentType = null; m_aLocale = null; m_aCookies.clear (); m_aHeaders.clear (); m_nStatus = HttpServletResponse.SC_OK; m_sErrorMessage = null; }
public static void setBootstrapCSS (@Nonnull @Nonempty final ICSSPathProvider... aCSSPathProvider) { ValueEnforcer.notEmptyNoNullValue (aCSSPathProvider, "CSSPathProvider"); s_aRWLock.writeLocked ( () -> { s_aCSS.clear (); for (final ICSSPathProvider aPP : aCSSPathProvider) s_aCSS.add (aPP); }); }
public static void setBootstrapCSS (@Nonnull @Nonempty final ICSSPathProvider... aCSSPathProvider) { ValueEnforcer.notEmptyNoNullValue (aCSSPathProvider, "CSSPathProvider"); s_aRWLock.writeLocked ( () -> { s_aCSS.clear (); for (final ICSSPathProvider aPP : aCSSPathProvider) s_aCSS.add (aPP); }); }
@Nonnull public final EChange removeAllChildren () { if (m_aChildMap == null || m_aChildMap.isEmpty ()) return EChange.UNCHANGED; // Remember all children final ICommonsList <ITEMTYPE> aAllChildren = m_aChildren.getClone (); // Remove all children m_aChildMap.clear (); m_aChildren.clear (); // Notify factory after removal for (final ITEMTYPE aChild : aAllChildren) _recursiveRemoveFromFactory (aChild); return EChange.CHANGED; }
public static void setBootstrapJS (@Nonnull @Nonempty final IJSPathProvider... aJSPathProvider) { ValueEnforcer.notEmptyNoNullValue (aJSPathProvider, "JSPathProvider"); s_aRWLock.writeLocked ( () -> { s_aJS.clear (); for (final IJSPathProvider aPP : aJSPathProvider) s_aJS.add (aPP); }); }
public static void setBootstrapJS (@Nonnull @Nonempty final IJSPathProvider... aJSPathProvider) { ValueEnforcer.notEmptyNoNullValue (aJSPathProvider, "JSPathProvider"); s_aRWLock.writeLocked ( () -> { s_aJS.clear (); for (final IJSPathProvider aPP : aJSPathProvider) s_aJS.add (aPP); }); }
@Nonnull public EChange removeAll () { return m_aRWLock.writeLocked ( () -> { if (m_aItems.isEmpty ()) return EChange.UNCHANGED; m_aItems.clear (); m_aList.clear (); if (m_bIsCollected) _collectWarn ("Removed all items after collection!"); return EChange.CHANGED; }); }
@Nonnull public EChange removeAll () { return m_aRWLock.writeLocked ( () -> { if (m_aItems.isEmpty ()) return EChange.UNCHANGED; m_aItems.clear (); m_aList.clear (); if (m_bIsCollected) _collectWarn ("Removed all items after collection!"); return EChange.CHANGED; }); }