i have a templete code for this assaignment.and how we write

i have a templete code for this assaignment.and how we write the programme is given in comments in the templete code.it is below package dataset;import java.io.Serializable;import java.util.ArrayList;import java.util.Arrays;import java.util.List;/** * The DataRow class is used to hold a row of data similar to a row in an excel sheet. * This class uses an ArrayList of Strings to represent the columns in a row. * If the column exists but there is no value, an empty String is used. */public class DataRow implements Serializable{/** * Version id for writing this object to file */private static final long serialVersionUID = 1L;/** * The ‘column’ of data.  The list of values in the row. *//** * The parent Dataset to which this DataRow belongs to *//** * Default constructor. * Initializes an empty list for rowValues *//** * Copy constructor. * Copies the values from the other data row to this one. *  * @param otherDataRow The data row to be copied *//** * Constructor than takes a String array as column values *  * @param rowValues The values for each column in the row *//** * Constructor than takes a String list as column values *  * @param rowValues The values for each column in the row *//** * Constructor than takes a String as column values/ * The String is assumed to be a comma separated list of values. *  * @param rowValues The values for each column in the row *//** * Sets the parent DataSet for this DataRow *  * @param parentDataSet The parent DataSet  *//** * @return The parent DataSet *//** * Gets the data type for the column at the given index. *  * @param columnIndex The index of the column * @return The DataType of the column at the given index *//** * @return Returns rowValues *//** * Sets rowValues to the values of the aray of Strings. *  * @param newRowValues Array of Strings representing the row values *//** * Sets the value at the specified column index to the new value *  * @param index The index of the column for this row * @param newValue The new value to set this row/column to *//** * Adds a column to this row after the specified index. * The value of the column is an empty String. *  * @param index The column index *//** * Adds a column to the end of the row with the new value specified *  * @param value The value of the column *//** * Adds a column to this row after the specified index with the specified value *  * @param index The column index * @param value The value of the column *//** * Removes the column at the specified index *  * @param index The column index * @return Returns the value of the column *//** * Returns the value at the specified index *  * @param index The column index * @return The column value *//** * Returns the columns values as a List of Strings. * The indices of the columns to include are specified by the index array. *  * @param index The array of column indices to include * @return A list of values for the specified columns *//** * Returns the row values as a String array *  * @return The array of values *//** * Returns the number of columns *  * @return The number of columns *//** * Removes white space for all values in the row *//** * Returns a comma separates list of values for the row data *//** * hash code *//** * Determines if two DataRows are equal.  Only compares the rowValues field. */}   AND THE OUTPUT IS LOOKS LIKE BELOWTrueXXXXColor,Number1,Animal,Number2black,2,tiger,6blue,9,dog,1green,7,bear,2green,1,donkey,4orange,9,lizard,3red,5,cat,4red,3,cat,4XXXXColor,Number1,Animal,Number2green,1,donkey,4black,2,tiger,6red,3,cat,4red,5,cat,4green,7,bear,2blue,9,dog,1orange,9,lizard,3XXXXfalse  AND THE BRIEF DISCRIPTION OF THE ASSIGNMENT IS GIVEN IN THE ATTACHED FILES


Did you know you can hire someone to answer this question? Yes, classaider.com is a hub of paper writers dedicated to completing research and summaries, critical thinking tasks, essays, coursework, and other homework tasks. It is simple as ABC.