@Override
		public int compareTo(final Element other) {
			if (other instanceof Index idx) {
				return Integer.compare(index, idx.index);
			} else {
				return -1;
			}
		}
Path element which represents a list/array index.

@param index the list/array index
jenetics.incubator/src/main/java/io/jenetics/incubator/beans/Path.java