public boolean isEndReached() {
        if (to == null || from == null) {
            // No range specified, must be complete response
            return true;
        }

        if (length == null) {
            // No lenth specified, can't be end
            return false;
        }

        return to == length - 1;
    }
public boolean isEndReached() {
        if (to == null || from == null) {
            
            return true;
        }

        if (length == null) {
            
            return false;
        }

        return to == length - 1;
    }
public boolean isEndReached ( ) { if ( to == null || from == null ) { // No range specified, must be complete response return true ; } if ( length == null ) { // No lenth specified, can't be end return false ; } return to == length - 1 ; }
Indicates whether the response reaches the end of the elements available
on the server.

@return <code>true</code> if there are no more elements.
Indicates whether the response reaches the end of the elements available on the server .