package com.worklight.location.internal.nativeImpl;

import com.worklight.location.internal.IRunnableExecutor;
import java.util.Timer;
import java.util.TimerTask;

public class TimerRunnableExecutor
  implements IRunnableExecutor
{
  private Timer timer = new Timer("DwellTimer", true);

  private TimerTask wrap(final Runnable paramRunnable)
  {
    return new TimerTask()
    {
      public void run()
      {
        paramRunnable.run();
      }
    };
  }

  public void execute(Runnable paramRunnable)
  {
    this.timer.schedule(wrap(paramRunnable), 0L);
  }

  public void execute(Runnable paramRunnable, long paramLong)
  {
    this.timer.schedule(wrap(paramRunnable), paramLong);
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.worklight.location.internal.nativeImpl.TimerRunnableExecutor
 * JD-Core Version:    0.6.2
 */