public static class LinearIndex.ChrIndex extends java.lang.Object implements ChrIndex
Constructor and Description |
---|
ChrIndex()
Default constructor needed for factory methods -- DO NOT REMOVE
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
double |
getAverageFeatureSize() |
java.util.List<Block> |
getBlocks() |
java.util.List<Block> |
getBlocks(int start,
int end) |
double |
getFeaturesPerBlock() |
java.lang.String |
getName() |
int |
getNBlocks() |
int |
getNFeatures() |
long |
getTotalSize() |
void |
incrementFeatureCount() |
LinearIndex.ChrIndex |
optimize(double threshold) |
void |
read(LittleEndianInputStream dis) |
void |
updateLongestFeature(int featureLength) |
void |
write(LittleEndianOutputStream dos) |
public ChrIndex()
public int getNBlocks()
public java.util.List<Block> getBlocks()
public java.util.List<Block> getBlocks(int start, int end)
public void updateLongestFeature(int featureLength)
public int getNFeatures()
public void incrementFeatureCount()
public void write(LittleEndianOutputStream dos) throws java.io.IOException
public void read(LittleEndianInputStream dis) throws java.io.IOException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public long getTotalSize()
public double getAverageFeatureSize()
public double getFeaturesPerBlock()
public LinearIndex.ChrIndex optimize(double threshold)