本文整理了Java中java.lang.StringBuilder.replace0()
方法的一些代码示例,展示了StringBuilder.replace0()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。StringBuilder.replace0()
方法的具体详情如下:
包路径:java.lang.StringBuilder
类名称:StringBuilder
方法名:replace0
暂无
代码示例来源:origin: robovm/robovm
/**
* Replaces the specified subsequence in this builder with the specified
* string.
*
* @param start
* the inclusive begin index.
* @param end
* the exclusive end index.
* @param string
* the replacement string.
* @return this builder.
* @throws StringIndexOutOfBoundsException
* if {@code start} is negative, greater than the current
* {@code length()} or greater than {@code end}.
* @throws NullPointerException
* if {@code str} is {@code null}.
*/
public StringBuilder replace(int start, int end, String string) {
replace0(start, end, string);
return this;
}
代码示例来源:origin: MobiVM/robovm
/**
* Replaces the specified subsequence in this builder with the specified
* string.
*
* @param start
* the inclusive begin index.
* @param end
* the exclusive end index.
* @param string
* the replacement string.
* @return this builder.
* @throws StringIndexOutOfBoundsException
* if {@code start} is negative, greater than the current
* {@code length()} or greater than {@code end}.
* @throws NullPointerException
* if {@code str} is {@code null}.
*/
public StringBuilder replace(int start, int end, String string) {
replace0(start, end, string);
return this;
}
代码示例来源:origin: ibinti/bugvm
/**
* Replaces the specified subsequence in this builder with the specified
* string.
*
* @param start
* the inclusive begin index.
* @param end
* the exclusive end index.
* @param string
* the replacement string.
* @return this builder.
* @throws StringIndexOutOfBoundsException
* if {@code start} is negative, greater than the current
* {@code length()} or greater than {@code end}.
* @throws NullPointerException
* if {@code str} is {@code null}.
*/
public StringBuilder replace(int start, int end, String string) {
replace0(start, end, string);
return this;
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* Replaces the specified subsequence in this builder with the specified
* string.
*
* @param start
* the inclusive begin index.
* @param end
* the exclusive end index.
* @param string
* the replacement string.
* @return this builder.
* @throws StringIndexOutOfBoundsException
* if {@code start} is negative, greater than the current
* {@code length()} or greater than {@code end}.
* @throws NullPointerException
* if {@code str} is {@code null}.
*/
public StringBuilder replace(int start, int end, String string) {
replace0(start, end, string);
return this;
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* Replaces the specified subsequence in this builder with the specified
* string.
*
* @param start
* the inclusive begin index.
* @param end
* the exclusive end index.
* @param string
* the replacement string.
* @return this builder.
* @throws StringIndexOutOfBoundsException
* if {@code start} is negative, greater than the current
* {@code length()} or greater than {@code end}.
* @throws NullPointerException
* if {@code str} is {@code null}.
*/
public StringBuilder replace(int start, int end, String string) {
replace0(start, end, string);
return this;
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* Replaces the specified subsequence in this builder with the specified
* string.
*
* @param start
* the inclusive begin index.
* @param end
* the exclusive end index.
* @param string
* the replacement string.
* @return this builder.
* @throws StringIndexOutOfBoundsException
* if {@code start} is negative, greater than the current
* {@code length()} or greater than {@code end}.
* @throws NullPointerException
* if {@code str} is {@code null}.
*/
public StringBuilder replace(int start, int end, String string) {
replace0(start, end, string);
return this;
}
代码示例来源:origin: FlexoVM/flexovm
/**
* Replaces the specified subsequence in this builder with the specified
* string.
*
* @param start
* the inclusive begin index.
* @param end
* the exclusive end index.
* @param string
* the replacement string.
* @return this builder.
* @throws StringIndexOutOfBoundsException
* if {@code start} is negative, greater than the current
* {@code length()} or greater than {@code end}.
* @throws NullPointerException
* if {@code str} is {@code null}.
*/
public StringBuilder replace(int start, int end, String string) {
replace0(start, end, string);
return this;
}
内容来源于网络,如有侵权,请联系作者删除!