Class AbstractSparseCharMatrix2D

    • Constructor Detail

      • AbstractSparseCharMatrix2D

        public AbstractSparseCharMatrix2D​(long rows,
                                          long columns)
    • Method Detail

      • getChar

        public final char getChar​(long... coordinates)
        Description copied from interface: CharMatrix
        Returns a char representation of an entry in the matrix. The stored value will be converted to a char as good as possible.
        Specified by:
        getChar in interface CharMatrix
        Parameters:
        coordinates - location of the entry
        Returns:
        a char representation of the entry @
      • setChar

        public final void setChar​(char value,
                                  long... coordinates)
        Description copied from interface: CharMatrix
        Sets an entry in the matrix to a char value. If the matrix cannot store char values, the value will be represented as good as possible.
        Specified by:
        setChar in interface CharMatrix
        Parameters:
        value - char value
        coordinates - location of the entry @