code: private void descendingForEach(KTypePredicate<? super KType> predicate, int fromIndex, final int toIndex) {
      if (fromIndex == toIndex)
        return;
  
      final KType[] buffer = Intrinsics.<KType[]> cast(this.buffer);
      int i = toIndex;
      do {
        i = oneLeft(i, buffer.length);
        if (!predicate.apply(buffer[i])) {
          break;
        }
      } while (i != fromIndex);
    }
docs: Applies <code>predicate</code> to a slice of the deque,
  <code>toIndex</code>, exclusive, down to <code>fromIndex</code>, inclusive
  or until the predicate returns <code>false</code>.