本文整理了Java中gnu.trove.list.TIntList.replace()
方法的一些代码示例,展示了TIntList.replace()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TIntList.replace()
方法的具体详情如下:
包路径:gnu.trove.list.TIntList
类名称:TIntList
方法名:replace
[英]Sets the value at the specified offset and returns the previously stored value.
[中]将值设置为指定的偏移量,并返回以前存储的值。
代码示例来源:origin: alibaba/mdrill
public int replace( int offset, int val ) {
synchronized( mutex ) { return list.replace( offset, val ); }
}
public void remove( int offset, int length ) {
代码示例来源:origin: com.palantir.patches.sourceforge/trove3
@Override
public int replace( int offset, int val ) {
synchronized( mutex ) { return list.replace( offset, val ); }
}
@Override
代码示例来源:origin: net.sf.trove4j/trove4j
public int replace( int offset, int val ) {
synchronized( mutex ) { return list.replace( offset, val ); }
}
public void remove( int offset, int length ) {
代码示例来源:origin: net.sf.trove4j/core
public int replace( int offset, int val ) {
synchronized( mutex ) { return list.replace( offset, val ); }
}
public void remove( int offset, int length ) {
代码示例来源:origin: hernad/easyrec
public int replace( int offset, int val ) {
synchronized( mutex ) { return list.replace( offset, val ); }
}
public void remove( int offset, int length ) {
代码示例来源:origin: com.flowpowered/caustic-api
if (index == ii / 3) {
indices.replace(iii, i / 3);
} else if (index > ii / 3) {
indices.replace(iii, index - 1);
内容来源于网络,如有侵权,请联系作者删除!