Class Table<V>

  • All Implemented Interfaces:
    java.io.Serializable

    public class Table<V>
    extends java.lang.Object
    implements java.io.Serializable
    A simple table as in a CSV file, having an optional header row and any number of data rows
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_NAME

        public static final Name TYPE_NAME
      • FIELD_NAME_HEADER

        public static final Name FIELD_NAME_HEADER
      • FIELD_NAME_DATA

        public static final Name FIELD_NAME_DATA
      • header

        public final Opt<HeaderRow> header
        The optional header row of the table. If present, the header must have the same number of cells as each data row.
      • data

        public final java.util.List<DataRow<V>> data
        The data rows of the table. Each row must have the same number of cells.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • withData

        public Table withData​(java.util.List<DataRow<V>> data)