
class Thread implements Runnable {
  private Runnable target;

  public Thread() {
    this( null );
  }

  public Thread( Runnable target ) {
    this.target = target;
  }

  public native void start();

  public void run() {
    if ( target != null )
      target.run();
  }
}
