package recycledNumbers;


public class OutputData {

	private int[] Steps;


	public int[] getSteps() {
		return Steps;
	}


	public OutputData(int [] Steps){
		this.Steps = Steps;
		
		for(int i=0;i<this.Steps.length;i++){
			System.out.println("Test "+(i+1)+": "+Steps[i]);
		}
	}
	
}

package info.m3o.gcj2012.recyclednumber;

public class ResultUtil {
	MyNumberStringSet testedNumberSet;
	MyNumberStringPairSet recycledNumberSet;

	public ResultUtil() {
		testedNumberSet = new MyNumberStringSet();
		recycledNumberSet = new MyNumberStringPairSet();
		assert (testedNumberSet.isEmpty() == true) : "ResultUtil Constructor Error.";
		assert (recycledNumberSet.isEmpty() == true) : "ResultUtil Constructor Error.";
	}

	public void clearSets() {
		this.testedNumberSet.clear();
		this.recycledNumberSet.clear();
	}

	public boolean isTested(String s) {
		return (this.testedNumberSet.contains(s));
	}

	public boolean isInRecycledNumberSet(String s) {
		return (this.recycledNumberSet.contains(s));
	}

}
