@Override
		public int compareTo(final Path other) {
			for (int i = 0, n = Math.min(length(), other.length()); i < n; ++i) {
				final int cmp = Integer.compare(get(i), other.get(i));
				if (cmp != 0) {
					return cmp;
				}
			}

			return Integer.compare(length(), other.length());
		}
Appends the given {@code path} to {@code this} one.

@param path the path to append
@return a new {@code Path} with the given {@code path} appended
@throws NullPointerException if the given {@code path} is {@code null}
jenetics.ext/src/main/java/io/jenetics/ext/util/Tree.java