Class CsvData.BasicLineEntry

    • Method Detail

      • nCol

        public int nCol()
      • getCol

        public String getCol​(int j)
        Parameters:
        j - zero-based column index
      • getColInt

        public Integer getColInt​(int j)
      • getColByName

        public String getColByName​(CsvData.BasicLineEntry header,
                                   String name,
                                   String defVal)
        Picks the value from this line's column with the specified column name.
        Parameters:
        header - This is where the column names are
        name - The desired column name
        defVal - The value to return if the header has no column with the desired name, or if this line is too short and does not have that many columns
      • equals

        public boolean equals​(Object o)
        Requires the equality of the strings in all fields
        Overrides:
        equals in class Object