public ThreadData(String threadName,String threadState,long cpuTimeInNanoSeconds){
  this.threadName=threadName;
  this.threadState=threadState;
  this.cpuTimeInNanoSeconds=cpuTimeInNanoSeconds;
}

public ThreadData ( String threadName , String threadState , long cpuTimeInNanoSeconds ) { this . threadName = threadName ; this . threadState = threadState ; this . cpuTimeInNanoSeconds = cpuTimeInNanoSeconds ; }
instantiates a new thread data .
