@Override
	public Iterator<String> iterator() {
		return new Iterator<>() {
			int i = 0;

			@Override
			public boolean hasNext() {
				return i < keys.length;
			}

			@Override
			public String next() {
				return keys[i++];
			}
		};
	}
Parse a path from the given string

@param path the dot-separated keys from source to destination
@return the path
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/path/KeyPath.java