code: @Deprecated
      public boolean setInterval(Timer timer, long interval)
      {
          assert (timer.parent == this);
          return timer.setInterval(interval);
      }
docs: Changes the interval of the timer.
  This method is slow, canceling existing and adding a new timer yield better performance.
  @param timer the timer to change the interval to.
  @return true if set, otherwise false.
  @deprecated use {@link Timer#setInterval(long)} instead