public NamedThreadFactory(String namePrefix){
  this._namePrefix=namePrefix;
  _delegate=Executors.defaultThreadFactory();
}

public NamedThreadFactory ( String namePrefix ) { this . _namePrefix = namePrefix ; _delegate = Executors . defaultThreadFactory ( ) ; }
constructs the thread factory .
