<commit_before>package org.eclipse.scanning.api.scan.rank;

import java.util.Arrays;

import org.eclipse.scanning.api.scan.rank.IScanSlice;

class ScanSlice implements IScanSlice {

	private int[] start;
	private int[] stop;
	private int[] step;
	
	public ScanSlice() {
		
	}
	public ScanSlice(int[] start, int[] stop, int[] step) {
		this.start = start;
		this.stop  = stop;
		this.step  = step;
	}
	public int[] getStart() {
		return start;
	}
	public void setStart(int[] start) {
		this.start = start;
	}
	public int[] getStop() {
		return stop;
	}
	public void setStop(int[] stop) {
		this.stop = stop;
	}
	public int[] getStep() {
		return step;
	}
	public void setStep(int[] step) {
		this.step = step;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + Arrays.hashCode(start);
		result = prime * result + Arrays.hashCode(step);
		result = prime * result + Arrays.hashCode(stop);
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ScanSlice other = (ScanSlice) obj;
		if (!Arrays.equals(start, other.start))
			return false;
		if (!Arrays.equals(step, other.step))
			return false;
		if (!Arrays.equals(stop, other.stop))
			return false;
		return true;
	}
}<commit_msg>Created toString() method.<commit_after>package org.eclipse.scanning.api.scan.rank;

import java.util.Arrays;

import org.eclipse.scanning.api.scan.rank.IScanSlice;

class ScanSlice implements IScanSlice {

	private int[] start;
	private int[] stop;
	private int[] step;
	
	public ScanSlice() {
		
	}
	public ScanSlice(int[] start, int[] stop, int[] step) {
		this.start = start;
		this.stop  = stop;
		this.step  = step;
	}
	public int[] getStart() {
		return start;
	}
	public void setStart(int[] start) {
		this.start = start;
	}
	public int[] getStop() {
		return stop;
	}
	public void setStop(int[] stop) {
		this.stop = stop;
	}
	public int[] getStep() {
		return step;
	}
	public void setStep(int[] step) {
		this.step = step;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + Arrays.hashCode(start);
		result = prime * result + Arrays.hashCode(step);
		result = prime * result + Arrays.hashCode(stop);
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ScanSlice other = (ScanSlice) obj;
		if (!Arrays.equals(start, other.start))
			return false;
		if (!Arrays.equals(step, other.step))
			return false;
		if (!Arrays.equals(stop, other.stop))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "ScanSlice [start=" + Arrays.toString(start) + ", stop=" + Arrays.toString(stop) + ", step="
				+ Arrays.toString(step) + "]";
	}
}
{'fraction_non_alphanumeric': 0.14290563475899526, 'fraction_numerical': 0.002036659877800407, 'mean_word_length': 3.554868624420402, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6349023', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1035, 'n_words': 280}