class CodeGenerator {

	public String next() {
		this.intSeed++;
		if(this.intSeed > 9999) {
			throw new IndexOutOfBoundsException();
		}
		return String.format("%04d", this.intSeed);
	}

	public  CodeGenerator(String seed);

}