performance/src/main/java/org/justinnk/masonssa/evaluation/DataFrame.java
/**
   * Adds an entry to the provided column. If there is no column with this name, it will be created.
   */
Adds an entry to the provided column. If there is no column with this name, it will be created.
Adds an entry to the provided column . If there is no column with this name it will be created .
public void addEntry(String column, Object value) {
    Optional<Column> matchinColumn =
        columns.stream().filter(c -> Objects.equals(c.name, column)).findFirst();
    if (matchinColumn.isPresent()) {
      matchinColumn.get().addEntry(value);
    } else {
      Column nC = new Column(column);
      nC.addEntry(value);
      columns.add(nC);
    }
  }
public void addEntry ( String column , Object value ) { Optional < Column > matchinColumn = columns . stream ( ) . filter ( c -> Objects . equals ( c . name , column ) ) . findFirst ( ) ; if ( matchinColumn . isPresent ( ) ) { matchinColumn . get ( ) . addEntry ( value ) ; } else { Column nC = new Column ( column ) ; nC . addEntry ( value ) ; columns . add ( nC ) ; } }
Adds an entry to the provided column.
Adds an entry to the provided column .