public static < T > Iterator < T > reverse ( Iterator < T > self ) { return new ReverseListIterator < T > ( toList ( self ) ) ; }
Reverses the iterator . The original iterator will become exhausted of elements after determining the reversed values . A new iterator for iterating through the reversed values is returned .