public void countUp(int count){
  sync.releaseShared(-1 * (Math.abs(count)));
}

public void countUp ( int count ) { sync . releaseShared ( - 1 * ( Math . abs ( count ) ) ) ; }
increments the count of the latch by a positive number .
