@Nonnull public IMPLTYPE arg(@Nonnegative final int nIndex, @Nullable final String sValue) { return sValue == null ? argNull(nIndex) : arg(nIndex, JSExpr.lit(sValue)); }
/** Adds a literal argument. Short for {@code arg(nIndex, JSExpr.lit(v))} */ @Nonnull public IMPLTYPE arg(@Nonnegative final int nIndex, final boolean bValue) { return arg(nIndex, JSExpr.lit(bValue)); }
/** Adds a literal argument. Short for {@code arg(nIndex, JSExpr.lit(v))} */ @Nonnull public IMPLTYPE arg(@Nonnegative final int nIndex, final long nValue) { return arg(nIndex, JSExpr.lit(nValue)); }
@Nonnull public IMPLTYPE arg(@Nullable final String sValue) { return sValue == null ? argNull() : arg(JSExpr.lit(sValue)); }
@Nonnull public IMPLTYPE arg(@Nullable final BigInteger aValue) { return aValue == null ? argNull() : arg(JSExpr.lit(aValue)); }
/** * Adds a literal argument. Short for {@code arg(JSExpr.lit(nArgument))} * * @param nValue value to be added as an argument * @return this */ @Nonnull public IMPLTYPE arg(final long nValue) { return arg(JSExpr.lit(nValue)); }
/** * Adds a literal argument. Short for {@code arg(JSExpr.lit(fArgument))} * * @param fValue value to be added as an argument * @return this */ @Nonnull public IMPLTYPE arg(final float fValue) { return arg(JSExpr.lit(fValue)); }
/** * Adds a literal argument. Short for {@code arg(JSExpr.lit(dArgument))} * * @param dValue value to be added as an argument * @return this */ @Nonnull public IMPLTYPE arg(final double dValue) { return arg(JSExpr.lit(dValue)); }
/** * Adds a literal argument. Short for {@code arg(JSExpr.lit(cArgument))} * * @param cValue value to be added as an argument * @return this */ @Nonnull public IMPLTYPE arg(final char cValue) { return arg(JSExpr.lit(cValue)); }
/** * Adds a literal argument. Short for {@code arg(JSExpr.lit(bArgument))} * * @param bValue value to be added as an argument * @return this */ @Nonnull public IMPLTYPE arg(final boolean bValue) { return arg(JSExpr.lit(bValue)); }