<commit_before>package model;

import java.util.ArrayList;

public class Model {
	private ArrayList<Function> functionList;
	
	public Model() {
		this.functionList = new ArrayList<>();
	}
	
	public void addFunction(Function func) {
		this.functionList.add(func);
	}
	
	public Function getFunction(int index) {
		return this.functionList.get(index);
	}
}<commit_msg>[Implement] Now return Function names by vector, for GUI<commit_after>package model;

import java.util.ArrayList;
import java.util.Vector;

public class Model {
	private ArrayList<Function> functionList;
	
	public Model() {
		this.functionList = new ArrayList<>();
	}
	
	public void addFunction(Function func) {
		this.functionList.add(func);
	}
	
	public Function getFunction(int index) {
		return this.functionList.get(index);
	}
	
	public Vector<String> getFunctionNames() {
		Vector<String> nameVec = new Vector<>();
		for(int i =  0; i < this.functionList.size(); i++) {
			nameVec.add(this.functionList.get(i).getFunctionName());
		}
		return nameVec;
	}
}
{'fraction_non_alphanumeric': 0.124634858812074, 'fraction_numerical': 0.0009737098344693282, 'mean_word_length': 4.648351648351649, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 10, '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': '3353443', 'n_tokens_mistral': 341, 'n_tokens_neox': 312, 'n_words': 78}