com.imagero.uio.bio.content
Class Range

java.lang.Object
  extended bycom.imagero.uio.bio.content.Range

public class Range
extends java.lang.Object

This class helps to track which interval was already filed with data.


Constructor Summary
Range(long first, long last)
           
 
Method Summary
 boolean canJoin(Range r)
           
 boolean contains(Range r)
           
 boolean isNeighbor(Range r)
           
 boolean isOverlap(Range r)
           
 void join(Range r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Range

public Range(long first,
             long last)
Method Detail

contains

public boolean contains(Range r)

isOverlap

public boolean isOverlap(Range r)

isNeighbor

public boolean isNeighbor(Range r)

canJoin

public boolean canJoin(Range r)

join

public void join(Range r)