static <T> ListIterator<T> cast(Iterator<T> iterator) {
    return (ListIterator<T>) iterator;
  }
static <T> ListIterator<T> cast(Iterator<T> iterator) {
    return (ListIterator<T>) iterator;
  }
static < T > ListIterator < T > cast ( Iterator < T > iterator ) { return ( ListIterator < T > ) iterator ; }
Used to avoid http://bugs.sun.com/view_bug.do?bug_id=6558557
Used to avoid http : // bugs . sun . com / view_bug . do?bug_id = 6558557