public T getDown ( ) { if ( navigator < 0 ) { // This is true when there are no elements. return null ; } if ( ( wasFullAtleastOnce && navigator == size - 1 ) || ( ! wasFullAtleastOnce && navigator == emptyItemIndex - 1 ) ) { try { return ( T ) ( items [ navigator ] ) ; } finally { navigator = 0 ; } } return ( T ) ( items [ navigator ++ ] ) ; }
Think of this method conceptually as navigating using down arrow in history list of commands .