public StoppableWriteLock(ReadWriteLock lock,CancelCriterion stopper){
  this.lock=lock.writeLock();
  this.stopper=stopper;
}

public StoppableWriteLock ( ReadWriteLock lock , CancelCriterion stopper ) { this . lock = lock . writeLock ( ) ; this . stopper = stopper ; }
create a new instance
