private boolean remove(final int row,final int colIndex){
  boolean copied=false;
  final int lastIndex=this.maxIndices[row] - 1;
  if (lastIndex > 0 && lastIndex != colIndex) {
    System.arraycopy(this.cols[row],colIndex + 1,this.cols[row],colIndex,lastIndex - colIndex);
    System.arraycopy(this.values[row],colIndex + 1,this.values[row],colIndex,lastIndex - colIndex);
    copied=true;
  }
  if (lastIndex >= 0) {
    this.cols[row][lastIndex]=0;
    this.values[row][lastIndex]=0.0;
  }
  --this.maxIndices[row];
  return copied;
}

private boolean remove ( final int row , final int colIndex ) { boolean copied = false ; final int lastIndex = this . maxIndices [ row ] - 1 ; if ( lastIndex > 0 && lastIndex != colIndex ) { System . arraycopy ( this . cols [ row ] , colIndex + 1 , this . cols [ row ] , colIndex , lastIndex - colIndex ) ; System . arraycopy ( this . values [ row ] , colIndex + 1 , this . values [ row ] , colIndex , lastIndex - colIndex ) ; copied = true ; } if ( lastIndex >= 0 ) { this . cols [ row ] [ lastIndex ] = 0 ; this . values [ row ] [ lastIndex ] = 0.0 ; } -- this . maxIndices [ row ] ; return copied ; }
remove an entries at a specific position
