code: private Object getPreviousElement() {
          Object element = null;
          while (currentIndex >= startIndex && element == null) {
              currentIndex--;
              element = getElement();
          }
          return element;
      }
docs: Returns the previous element, or null if there are no more elements to
  return.
  
  @return the previous element.