package rabbit.io;

/** A class to handle a range.
 *
 * @author <a href="mailto:robo@khelekore.org">Robert Olofsson</a>
 */
public class Range {
    private long start;
    private long end;
    public Range (long start, long end) {
	this.start = start; 
	this.end = end;
    }

    public long getStart () {
	return start;
    }
	
    public long getEnd () {
	return end;
    }

    public long size () {
	// range is inclusive 1-5 has 5 bytes.
	return end - start + 1;
    }
}

@@ -147,24 +147,30 @@
     private 
+final 
 long start;%0A
@@ -181,16 +181,22 @@
 private 
+final 
 long end

make things final.