src/main/java/com/webcheckers/model/Row.java
/**
     * Returns an iterator that is the reverse of the row iterator.
     * Useful for generating the view for the white player.
     * @return reverse row iterator (by reverse spaces)
     */
Returns an iterator that is the reverse of the row iterator.
Useful for generating the view for the white player.
@return reverse row iterator (by reverse spaces)
Returns an iterator that is the reverse of the row iterator . Useful for generating the view for the white player . @return reverse row iterator ( by reverse spaces )
public Iterator<Space> reverseIterator() {
        List<Space> inv = new ArrayList<Space>();
        for (int i = 0; i < 8; i++){
            inv.add(this.spaces.get(7-i));
        }
        return inv.iterator();
    }
public Iterator < Space > reverseIterator ( ) { List < Space > inv = new ArrayList < Space > ( ) ; for ( int i = 0 ; i < 8 ; i ++ ) { inv . add ( this . spaces . get ( 7 - i ) ) ; } return inv . iterator ( ) ; }
Returns an iterator that is the reverse of the row iterator.
Returns an iterator that is the reverse of the row iterator .