hasFinished method

bool hasFinished()

Implementation

bool hasFinished() {
  return (!isInfinite && !isAlternating && isMax()) ||
      (!isInfinite && isAlternating && isMin()) ||
      isDisposed;
}