Class DataRow


  • public final class DataRow
    extends Object
    Represents a row of data in a DataTable, a simple in-memory data store.
    • Constructor Detail

      • DataRow

        public DataRow​(Object[] items)
        Creates a new instance of a DataRow with the given items.
        Parameters:
        items - The row values.
    • Method Detail

      • copy

        public DataRow copy()
        Creates a copy of this instance.
        Returns:
        The new instance.
      • get

        public Object get​(int index)
        Gets the value at the specified index.
        Parameters:
        index - The zero based index of the item.
        Returns:
        The item at the given index.
      • set

        public void set​(int index,
                        Object value)
        Sets the value at the specified index.
        Parameters:
        index - The zero based index of the item.