Class DataFrameEvent<R,​C>

  • Type Parameters:
    R - the type of row keys
    C - the type of column keys

    public class DataFrameEvent<R,​C>
    extends java.lang.Object
    An event that characterizes a change in a data frame.
    • Constructor Summary

      Constructors 
      Constructor Description
      DataFrameEvent​(java.lang.Iterable<R> affectedRows, java.lang.Iterable<C> affectedColumns, boolean structureChanged)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<C> getAffectedColumns()
      Rreturns the column that have been affected by teh change.
      java.lang.Iterable<R> getAffectedRows()
      Returns the rows that have been affected by the change.
      boolean isStructureChanged()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataFrameEvent

        public DataFrameEvent​(java.lang.Iterable<R> affectedRows,
                              java.lang.Iterable<C> affectedColumns,
                              boolean structureChanged)
        Parameters:
        affectedRows - the affected rows
        affectedColumns - the affected columns
        structureChanged - true if the rows or columns of the data frame have changed; false if only the data have change.
    • Method Detail

      • getAffectedRows

        public java.lang.Iterable<R> getAffectedRows()
        Returns the rows that have been affected by the change.
        Returns:
        the modified rows
      • getAffectedColumns

        public java.lang.Iterable<C> getAffectedColumns()
        Rreturns the column that have been affected by teh change.
        Returns:
        the modified columns
      • isStructureChanged

        public boolean isStructureChanged()