Interface Output.Readable

    • Method Detail

      • codePointAt

        int codePointAt​(int index)
        Returns the Unicode code point (starting) at the specified index.
        Parameters:
        index - the index to the char values.
        Returns:
        the code point value of the character at the index
        Throws:
        IndexOutOfBoundsException - if the index argument is negative or not less than the length of the contents of this object.
        See Also:
        the equivalent method of String
      • contentEquals

        default boolean contentEquals​(CharSequence that)
        Compares the contents of this object to the specified CharSequence. The result is true if and only if this instance holds the same sequence if char values as the specified sequence.
        Parameters:
        that - the sequence to compare this instance against.
        Returns:
        true if this String represents the same sequence of char values as the specified sequence, false otherwise.
        See Also:
        the equivalent method of String.
      • reader

        default Reader reader()
        Return a Reader that reads the contents of this object.
        Returns:
        a Reader that reads the contents of this object.