/** Concatenate a {@link Buffer} onto this value and return the result * using rules of lua string concatenation including metatag processing. * <p> * Only strings and numbers as represented can be concatenated, meaning * each operand must derive from {@link LuaString} or {@link LuaNumber}. * * @param rhs The right-hand-side {@link Buffer} to perform the operation with * @return LuaString resulting from concatenation of {@code (this .. rhs)} * @throws LuaError if either operand is not of an appropriate type, * such as nil or a table */ public Buffer concat(Buffer rhs) { return rhs.concatTo(this); }
/** Concatenate a {@link Buffer} onto this value and return the result * using rules of lua string concatenation including metatag processing. * <p> * Only strings and numbers as represented can be concatenated, meaning * each operand must derive from {@link LuaString} or {@link LuaNumber}. * * @param rhs The right-hand-side {@link Buffer} to perform the operation with * @return LuaString resulting from concatenation of {@code (this .. rhs)} * @throws LuaError if either operand is not of an appropriate type, * such as nil or a table */ public Buffer concat(Buffer rhs) { return rhs.concatTo(this); }
/** Concatenate a {@link Buffer} onto this value and return the result * using rules of lua string concatenation including metatag processing. * <p> * Only strings and numbers as represented can be concatenated, meaning * each operand must derive from {@link LuaString} or {@link LuaNumber}. * * @param rhs The right-hand-side {@link Buffer} to perform the operation with * @return LuaString resulting from concatenation of {@code (this .. rhs)} * @throws LuaError if either operand is not of an appropriate type, * such as nil or a table */ public Buffer concat(Buffer rhs) { return rhs.concatTo(this); }
public Buffer concat(Buffer rhs) { return rhs.concatTo(this); } public LuaValue concatTo(LuaNumber lhs) { return strvalue().concatTo(lhs.strvalue()); }
public Buffer concat(Buffer rhs) { return rhs.concatTo(this); } public LuaValue concatTo(LuaNumber lhs) { return concatTo(lhs.strvalue()); }
@Override public Buffer concat(Buffer rhs) { return rhs.concatTo(this); } @Override
public Buffer concat(Buffer rhs) { return rhs.concatTo(this); } public LuaValue concatTo(LuaNumber lhs) { return strvalue().concatTo(lhs.strvalue()); }
@Override public Buffer concat(Buffer rhs) { return rhs.concatTo(this); } @Override
public Buffer concat(Buffer rhs) { return rhs.concatTo(this); } public LuaValue concatTo(LuaNumber lhs) { return concatTo(lhs.strvalue()); }