<commit_before>package jp.co.flect.sql;

import java.util.Map;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.ArrayList;
import javax.swing.event.EventListenerList;
import java.util.Date;
import java.math.BigDecimal;

public abstract class Table implements Selectable {
	
	protected abstract void init();
	
	private Map<String, Object> valueMap = new HashMap<String, Object>();
	private LinkedHashMap<String, Field> fieldMap = new LinkedHashMap<String, Field>();
	private boolean initialized = false;
	private boolean serialKey = false;
	private String tableName;
	
	private EventListenerList listenerList = new EventListenerList();
	
	public Table(String tableName) {
		this(tableName, false);
	}
	
	public Table(String tableName, boolean serialKey) {
		this.tableName = tableName;
		this.serialKey = serialKey;
		doInit();
	}
	
	protected void setValueMap(Map<String, Object> map) {<commit_msg>Add Table#getValueMap method<commit_after>package jp.co.flect.sql;

import java.util.Map;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.ArrayList;
import javax.swing.event.EventListenerList;
import java.util.Date;
import java.math.BigDecimal;

public abstract class Table implements Selectable {
	
	protected abstract void init();
	
	private Map<String, Object> valueMap = new HashMap<String, Object>();
	private LinkedHashMap<String, Field> fieldMap = new LinkedHashMap<String, Field>();
	private boolean initialized = false;
	private boolean serialKey = false;
	private String tableName;
	
	private EventListenerList listenerList = new EventListenerList();
	
	public Table(String tableName) {
		this(tableName, false);
	}
	
	public Table(String tableName, boolean serialKey) {
		this.tableName = tableName;
		this.serialKey = serialKey;
		doInit();
	}
	
	public Map<String, Object> getValueMap() {
		return new HashMap<String, Object>(this.valueMap);
	}
	
	protected void setValueMap(Map<String, Object> map) {
{'fraction_non_alphanumeric': 0.09995027349577325, 'fraction_numerical': 0.0, 'mean_word_length': 5.448717948717949, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7646812', 'n_tokens_mistral': 603, 'n_tokens_neox': 575, 'n_words': 166}