Package com.qfs.dic

Interface ICharSequenceDictionary<C extends CharSequence>

    • Method Detail

      • readString

        String readString​(int position)
        Reads characters of the sequence stored at that position and returns them in an String. Calling this method allocates some memory for the array and for the String.
        Parameters:
        position - the position
        Returns:
        characters of the sequence in a String
      • transfer

        int transfer​(int position,
                     char[] receiver)
        Transfers the sequence at that position into a character array. The array must be large enough to receive the characters.
        Parameters:
        receiver - buffer filled with the sequence read at the position
        Returns:
        number of characters actually transferred (that is the max of the length of the sequence at that position, and the receiver array length)
      • copyInto

        default void copyInto​(int position,
                              IWritableCell cell)
        Description copied from interface: IDictionary
        Copies the de-dictionarized value at a given position into the provided cell.
        Specified by:
        copyInto in interface IDictionary<C extends CharSequence>
        Parameters:
        position - dictionarized value to read
        cell - cell filled with the corresponding value