public void finish(){
  if (!isFinished()) {
    startTime=System.currentTimeMillis() - duration;
    currentMotionTime=-1;
  }
}

public void finish ( ) { if ( ! isFinished ( ) ) { startTime = System . currentTimeMillis ( ) - duration ; currentMotionTime = - 1 ; } }
sends the motion to the end time instantly which is useful for flushing an animation
