public void setLockCount ( int valueNumber , int lockCount ) { int index = findIndex ( valueNumber ) ; if ( index < 0 ) { addEntry ( index , valueNumber , lockCount ) ; } else { array [ index + 1 ] = lockCount ; } }
Set the lock count for a lock object .