class Range implements Comparable<Range> {

	@Override
	public int compareTo(Range comparedRange) {
		if (start != comparedRange.start)
		{
            // Since GenIds/Index are more likely in the MSBs of long, type reduction to int will not work
		    // when comparing entries differing in indexes/genIds
			//return (int) (start - comparedRange.start);
			return start > comparedRange.start ? 1 : -1;
		}
		else
		{
		    // Since GenIds/Index are more likely in the MSBs of long, type reduction to int will not work
            // when comparing entries differing in indexes/genIds
			//return (int) (end - comparedRange.end);
			return end  > comparedRange.end ? 1 : ((end == comparedRange.end) ? 0 : -1);

		}

	}

	public  Range(long startOffset, long endOffset);
	public  Range();

}