<commit_before> /**********************************************************************
 **                                                                   **
 **               This code belongs to the KETTLE project.            **
 **                                                                   **
 ** Kettle, from version 2.2 on, is released into the public domain   **
 ** under the Lesser GNU Public License (LGPL).                       **
 **                                                                   **
 ** For more details, please read the document LICENSE.txt, included  **
 ** in this project                                                   **
 **                                                                   **
 ** http://www.kettle.be                                              **
 ** <EMAIL>                                                    **
 **                                                                   **
 **********************************************************************/

 
package be.ibridge.kettle.core;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.EOFException;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;

import be.ibridge.kettle.core.exception.KettleEOFException;
import be.ibridge.kettle.core.exception.KettleFileException;
import be.ibridge.kettle.core.value.Value;

/**
 * This class describes a single row in a stream of data.
 * A row is a array/list of @see be.ibridge.kettle.core.value.Value objects.
 * Note that most methods in this class assume that a value with a certain name only occurs once in the Row.
 * 
 * @author Matt
 * @since Beginning 2003.
 * 
 */
public class Row implements XMLInterface, Comparable, Serializable
{
    private final List list = new ArrayList();
    
    public static final long serialVersionUID = 0x8D8EA0264F7A1C30L;

	private boolean ignore;
	private Date    logdate;
	
	/**
	 * Create a new empty row (with 0 values)
	 *
	 */
	public Row()
	{
		ignore=false;
		logdate=null;
	}

	/**
	 * Creates a new row as a duplicate of the given row.
	 * The values are copied one by one into new values.
	 * 
	 * @param r The row to be copied.
	 */
	public Row(Row r)  // Copy values in row!
	{
		this();		
		int i;<commit_msg>str2num method: make it smarter: see if all parameters are used (.length()>0)<commit_after> /**********************************************************************
 **                                                                   **
 **               This code belongs to the KETTLE project.            **
 **                                                                   **
 ** Kettle, from version 2.2 on, is released into the public domain   **
 ** under the Lesser GNU Public License (LGPL).                       **
 **                                                                   **
 ** For more details, please read the document LICENSE.txt, included  **
 ** in this project                                                   **
 **                                                                   **
 ** http://www.kettle.be                                              **
 ** <EMAIL>                                                    **
 **                                                                   **
 **********************************************************************/

 
package be.ibridge.kettle.core;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.EOFException;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;

import be.ibridge.kettle.core.exception.KettleEOFException;
import be.ibridge.kettle.core.exception.KettleFileException;
import be.ibridge.kettle.core.value.Value;

/**
 * This class describes a single row in a stream of data.
 * A row is a array/list of Value objects.
 * Note that most methods in this class assume that a value with a certain name only occurs once in the Row.
 * 
 * @author Matt
 * @since Beginning 2003.
 * @see be.ibridge.kettle.core.value.Value
 * 
 */
public class Row implements XMLInterface, Comparable, Serializable
{
    private final List list = new ArrayList();
    
    public static final long serialVersionUID = 0x8D8EA0264F7A1C30L;

	private boolean ignore;
	private Date    logdate;
	
	/**
	 * Create a new empty row (with 0 values)
	 *
	 */
	public Row()
	{
		ignore=false;
		logdate=null;
	}

	/**
	 * Creates a new row as a duplicate of the given row.
	 * The values are copied one by one into new values.
	 * 
	 * @param r The row to be copied.
	 */
	public Row(Row r)  // Copy values in row!
	{
		this();		
		int i;
{'fraction_non_alphanumeric': 0.14005315886321815, 'fraction_numerical': 0.007769372316499694, 'mean_word_length': 1.6329386437029063, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 42, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6595233', 'n_tokens_mistral': 1210, 'n_tokens_neox': 1111, 'n_words': 389}