@ Nonnull public CSSMediaQuery addMediaExpression ( @ Nonnegative final int nIndex , @ Nonnull final CSSMediaExpression aMediaExpression ) { ValueEnforcer . isGE0 ( nIndex , "Index" ) ; ValueEnforcer . notNull ( aMediaExpression , "MediaExpression" ) ; if ( nIndex >= getMediaExpressionCount ( ) ) m_aMediaExpressions . add ( aMediaExpression ) ; else m_aMediaExpressions . add ( nIndex , aMediaExpression ) ; return this ; }
Add a media expression to the list at the specified index .