private boolean isNextCharacterEscapedQuote(String nextLine, boolean inQuotes, int i) {
    """
	Checks to see if the character after the index is a quotation character.
	
	precondition: the current character is a quote or an escape
	
	@param nextLine the current line
	@param inQuotes true if the current context is quoted
	@param i        current index in line
	@return true if the following character is a quote
    """
        return inQuotes  // we are in quotes, therefore there can be escaped quotes in here.
            && (nextLine.length() > (i + 1))  // there is indeed another character to check.
            && isCharacterQuoteCharacter(nextLine.charAt(i + 1));
    }
private boolean isNextCharacterEscapedQuote(String nextLine, boolean inQuotes, int i) {
        return inQuotes  // we are in quotes, therefore there can be escaped quotes in here.
            && (nextLine.length() > (i + 1))  // there is indeed another character to check.
            && isCharacterQuoteCharacter(nextLine.charAt(i + 1));
    }
private boolean isNextCharacterEscapedQuote ( String nextLine , boolean inQuotes , int i ) { return inQuotes // we are in quotes, therefore there can be escaped quotes in here. && ( nextLine . length ( ) > ( i + 1 ) ) // there is indeed another character to check. && isCharacterQuoteCharacter ( nextLine . charAt ( i + 1 ) ) ; }
Checks to see if the character after the index is a quotation character.

precondition: the current character is a quote or an escape

@param nextLine the current line
@param inQuotes true if the current context is quoted
@param i        current index in line
@return true if the following character is a quote
Checks to see if the character after the index is a quotation character .