private int myFindNextOccurrence(int startIndex, int condition) {
				// if we're already past the end of the sequence (as signaled by
				// this function's or skip's earlier return):
				if (startIndex == -1) {
					return startIndex;
				}
				if (startIndex >= Condition.size() - 1) {
					return -1;
				}
				while (Condition.get(startIndex) != condition) {
					if (startIndex >= Condition.size() - 1)
						return -1;
					startIndex++;
				}
				return startIndex;
			}