/** * This method clones all values from <code>this</code> to the passed object. * All data in the parameter object is overwritten! * * @param ret * The target object to clone to. May not be <code>null</code>. */ public void cloneTo (@Nonnull final PDBusinessCard ret) { ret.m_aParticipantIdentifier = m_aParticipantIdentifier; ret.m_aEntities = new CommonsArrayList <> (m_aEntities, PDBusinessEntity::getClone); }
public TLSConfigurationMode (@Nonnull @Nonempty final ETLSVersion [] aTLSVersions, @Nonnull final String [] aCipherSuites) { ValueEnforcer.notEmptyNoNullValue (aTLSVersions, "TLSVersions"); ValueEnforcer.notNullNoNullValue (aCipherSuites, "CipherSuites"); m_aTLSVersions = new CommonsArrayList <> (aTLSVersions); m_aCipherSuites = CommonsArrayList.createFiltered (aCipherSuites, x -> isSupportedCipherSuiteInSSLContext (aTLSVersions, x)); }
@Nonnull @ReturnsMutableCopy public static ICommonsList <EXMLParserProperty> getAllPropertiesOfType (@Nonnull final EXMLParserPropertyType ePropertyType) { ValueEnforcer.notNull (ePropertyType, "PropertyType"); return CommonsArrayList.createFiltered (values (), x -> x.getPropertyType () == ePropertyType); } }
@Nonnull public static ICommonsList <ICSSPathProvider> getAllCSSFiles () { return new CommonsArrayList <> (EIconCSSPathProvider.MATERIAL_ICONS, EIconCSSPathProvider.MATERIAL_ICONS_LIST, EIconCSSPathProvider.PH_OTON_MATERIAL_DESIGN); }
@Nonnull public static ICommonsList <ICSSPathProvider> getAllCSSFiles () { return new CommonsArrayList <> (EIconCSSPathProvider.FONT_AWESOME5); }
@Nonnull public static ICommonsList <ICSSPathProvider> getAllCSSFiles () { return new CommonsArrayList <> (EUICtrlsCSSPathProvider.FAMFAM_ICONS); }
@Nonnull public static ICommonsList <ICSSPathProvider> getAllCSSFiles () { return new CommonsArrayList <> (EUICtrlsCSSPathProvider.FAMFAM_FLAGS); }
@Nonnull public TypeaheadDataset setLocal (@Nullable final List <? extends TypeaheadDatum> aLocal) { m_aLocal = aLocal == null ? null : new CommonsArrayList <> (aLocal); return this; }
@Nonnull public TypeaheadDataset setLocal (@Nullable final TypeaheadDatum... aLocal) { m_aLocal = aLocal == null ? null : new CommonsArrayList <> (aLocal); return this; }
public CSSPageRule (@Nullable final String sPseudoPage) { m_aSelectors = StringHelper.hasText (sPseudoPage) ? new CommonsArrayList <> (sPseudoPage) : new CommonsArrayList <> (); }
@Nonnull @ReturnsMutableCopy public ICommonsList <IMicroElement> getAllForeignElements () { return new CommonsArrayList <> (m_aForeignElements); }
@Nonnull @ReturnsMutableCopy public ICommonsList <IMicroElement> getAllForeignElements () { return new CommonsArrayList <> (m_aForeignElements); }
@Nonnull public InternalErrorEmailSettings setReceiverAddress (@Nullable final IEmailAddress aReceiverAddress) { return setReceiverAddresses (aReceiverAddress == null ? null : new CommonsArrayList<> (aReceiverAddress)); }
/** * @return The optional variable constraints. Only relevant if this is a * variable path part. Never <code>null</code> but maybe empty. */ @Nonnull @ReturnsMutableCopy public ICommonsList <PathDescriptorVariableConstraint> getAllVariableConstraints () { return new CommonsArrayList<> (m_aVariableConstraints); }
/** * Utility method to remove a single resource from the schema cache. * * @param aKey * The resource to remove. May not be <code>null</code>. * @return {@link EChange}. */ @Nonnull public EChange removeFromCache (@Nonnull final IReadableResource aKey) { return removeFromCache (new CommonsArrayList <> (aKey)); }
@Nonnull public ICommonsList <ISMPProcess> getAllProcesses () { return new CommonsArrayList <> (m_aProcesses.values ()); }
@Nonnull public IMPLTYPE setLabels (@Nullable final String... aLabels) { m_aLabels = new CommonsArrayList <> (aLabels); return thisAsT (); }
public DataTablesDom (@Nonnull final DataTablesDom aOther) { ValueEnforcer.notNull (aOther, "Other"); m_aElements = new CommonsArrayList<> (aOther.m_aElements); }
@Nonnull public Iterable <? extends IFontResource> getAllFontResources () { return new CommonsArrayList <> (EFontResourceOpenSans.values (), EFontResourceOpenSans::getFontResource); } }
@Nonnull @ReturnsMutableCopy public final ICommonsCollection <ITEMTYPE> getAllChildren () { return new CommonsArrayList <> (m_aRootItem); }