Class AbstractMatrix<R,​C>

    • Constructor Detail

      • AbstractMatrix

        public AbstractMatrix()
    • Method Detail

      • isAvailable

        public boolean isAvailable​(R row,
                                   C column)
        Specified by:
        isAvailable in interface Matrix<R,​C>
      • getValueAt

        public java.lang.Number getValueAt​(R r,
                                           C c)
        Description copied from interface: DataFrame
        Returns the value for the cell at the intersection of the column key and row key.
        Specified by:
        getValueAt in interface DataFrame<R,​C,​java.lang.Number>
        Parameters:
        r - the row key whose value is to be queried
        c - the column key whose value is to be queried
        Returns:
        the value Object at the specified cell
      • getRowClass

        public java.lang.Class getRowClass​(R r)
        Description copied from interface: DataFrame
        Returns the most specific superclass for all cell values in a row.
        Specified by:
        getRowClass in interface DataFrame<R,​C,​java.lang.Number>
        Parameters:
        r - the key of the row
        Returns:
        the common ancestor class of the object values in the row.
      • getColumnClass

        public java.lang.Class getColumnClass​(C c)
        Description copied from interface: DataFrame
        Returns the most specific superclass for all cell values in a column
        Specified by:
        getColumnClass in interface DataFrame<R,​C,​java.lang.Number>
        Parameters:
        c - the key of the column
        Returns:
        the common ancestor class of the object values in the column.
      • getRow

        public Series<C,​?> getRow​(R r)
        Description copied from interface: DataFrame
        Returns a series of all the values of a given row.
        Specified by:
        getRow in interface DataFrame<R,​C,​java.lang.Number>
        Parameters:
        r - the row key
        Returns:
        a Series object