public int preceding(int pos) {if (pos < start || pos > end) {throw new IllegalArgumentException("offset out of bounds");} else if (pos == start) {current = start;return DONE;} else {return first();}}
public override int Preceding(int pos){if (pos < start || pos > end){throw new ArgumentException("offset out of bounds");}else if (pos == start){current = start;return Done;}else{return First();}}