Package org.broad.igv.bbfile
Class RPTreeNodeProxy
- java.lang.Object
-
- org.broad.igv.bbfile.RPTreeNodeProxy
-
- All Implemented Interfaces:
RPTreeNode
public class RPTreeNodeProxy extends java.lang.Object implements RPTreeNode
- Author:
- jrobinso
-
-
Field Summary
Fields Modifier and Type Field Description long
fileOffset
SeekableStream
fis
boolean
isLowToHigh
-
Constructor Summary
Constructors Constructor Description RPTreeNodeProxy(SeekableStream fis, long fileOffset, boolean lowToHigh, int chromId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareRegions(RPChromosomeRegion chromosomeRegion)
boolean
deleteItem(int index)
RPChromosomeRegion
getChromosomeBounds()
org.broad.igv.bbfile.RPTreeNodeItem
getItem(int index)
int
getItemCount()
boolean
insertItem(org.broad.igv.bbfile.RPTreeNodeItem item)
boolean
isLeaf()
void
printItems()
-
-
-
Field Detail
-
fis
public SeekableStream fis
-
fileOffset
public long fileOffset
-
isLowToHigh
public boolean isLowToHigh
-
-
Constructor Detail
-
RPTreeNodeProxy
public RPTreeNodeProxy(SeekableStream fis, long fileOffset, boolean lowToHigh, int chromId)
-
-
Method Detail
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interfaceRPTreeNode
-
getChromosomeBounds
public RPChromosomeRegion getChromosomeBounds()
- Specified by:
getChromosomeBounds
in interfaceRPTreeNode
-
compareRegions
public int compareRegions(RPChromosomeRegion chromosomeRegion)
- Specified by:
compareRegions
in interfaceRPTreeNode
-
getItemCount
public int getItemCount()
- Specified by:
getItemCount
in interfaceRPTreeNode
-
getItem
public org.broad.igv.bbfile.RPTreeNodeItem getItem(int index)
- Specified by:
getItem
in interfaceRPTreeNode
-
insertItem
public boolean insertItem(org.broad.igv.bbfile.RPTreeNodeItem item)
- Specified by:
insertItem
in interfaceRPTreeNode
-
deleteItem
public boolean deleteItem(int index)
- Specified by:
deleteItem
in interfaceRPTreeNode
-
printItems
public void printItems()
- Specified by:
printItems
in interfaceRPTreeNode
-
-