Oops. Forgot to add new file to svn.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@694 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2009-05-14 00:52:30 +00:00
parent d14cab0be7
commit 307c6e4ecf
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
package org.broadinstitute.sting.gatk.dataSources.providers;
import org.broadinstitute.sting.gatk.LocusContext;
import org.broadinstitute.sting.utils.GenomeLoc;
/**
* User: hanna
* Date: May 13, 2009
* Time: 3:30:16 PM
* BROAD INSTITUTE SOFTWARE COPYRIGHT NOTICE AND AGREEMENT
* Software and documentation are copyright 2005 by the Broad Institute.
* All rights are reserved.
*
* Users acknowledge that this software is supplied without any warranty or support.
* The Broad Institute is not responsible for its use, misuse, or
* functionality.
*/
/**
* A queue of locus context entries.
*/
public interface LocusContextQueue {
/**
* Get the locus context at the given position.
* @return Locus context, or null if no locus context exists at this position.
*/
LocusContext peek();
/**
* Seek to the given point the queue of locus contexts.
* @param target Target base pair to which to seek. Must be a single base pair.
* @return an instance of itself for parameter chaining.
*/
public LocusContextQueue seek(GenomeLoc target);
}