Package htsjdk.tribble.index.interval
Class IntervalTreeIndex.ChrIndex
- java.lang.Object
-
- htsjdk.tribble.index.interval.IntervalTreeIndex.ChrIndex
-
- All Implemented Interfaces:
ChrIndex
- Enclosing class:
- IntervalTreeIndex
public static class IntervalTreeIndex.ChrIndex extends Object implements ChrIndex
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Block>
getBlocks()
List<Block>
getBlocks(int start, int end)
String
getName()
void
insert(Interval iv)
void
printTree()
void
read(LittleEndianInputStream dis)
void
write(LittleEndianOutputStream dos)
-
-
-
Constructor Detail
-
ChrIndex
public ChrIndex()
Default constructor needed for factory methods -- DO NOT REMOVE
-
ChrIndex
public ChrIndex(String name)
-
-
Method Detail
-
insert
public void insert(Interval iv)
-
printTree
public void printTree()
-
write
public void write(LittleEndianOutputStream dos) throws IOException
- Specified by:
write
in interfaceChrIndex
- Throws:
IOException
-
read
public void read(LittleEndianInputStream dis) throws IOException
- Specified by:
read
in interfaceChrIndex
- Throws:
IOException
-
-