public static void startTimer(String name){
  if (openTimers.containsKey(name)) {
    throw new IllegalArgumentException("timer already exists");
  }
  openTimers.put(name,System.nanoTime());
}

public static void startTimer ( String name ) { if ( openTimers . containsKey ( name ) ) { throw new IllegalArgumentException ( "timer already exists" ) ; } openTimers . put ( name , System . nanoTime ( ) ) ; }
starts a timer with the specified name .
