<commit_before><commit_msg>Added Result - needed for memory computation<commit_after>package net.slreynolds.ds;

/**
 * A container for the Result from doWork
 *
 * @param <S> Type of object that has memory reference accumulated during
 * doWork
 */
public class Result<S> {

	private final S memoryRef;
	private final int param;
	
	public Result(S s,int param) {
		this.memoryRef = s;
		this.param = param;
	}
	
	public int getIntParam() {
		return param;
	}

	public S getMemoryRef() {
		return memoryRef;
	}
}
{'fraction_non_alphanumeric': 0.095703125, 'fraction_numerical': 0.0, 'mean_word_length': 3.794392523364486, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6119693', 'n_tokens_mistral': 172, 'n_tokens_neox': 160, 'n_words': 55}