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

		return Integer.compare(count(), other.count());
	}
Return {@code true} if this path contains no elements.

@return {@code true} if this path contains no elements, {@code false}
         otherwise
jenetics.incubator/src/main/java/io/jenetics/incubator/beans/Path.java