org.broad.igv.tdf
Class TDFFixedTile
java.lang.Object
org.broad.igv.tdf.TDFFixedTile
- All Implemented Interfaces:
- TDFTile
public class TDFFixedTile
- extends java.lang.Object
- implements TDFTile
- Author:
- jrobinso
Constructor Summary |
TDFFixedTile(java.nio.ByteBuffer byteBuffer,
int nSamples)
|
TDFFixedTile(int tileStart,
int start,
float span,
float[][] data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TDFFixedTile
public TDFFixedTile(java.nio.ByteBuffer byteBuffer,
int nSamples)
throws java.io.IOException
- Throws:
java.io.IOException
TDFFixedTile
public TDFFixedTile(int tileStart,
int start,
float span,
float[][] data)
noValues
public int noValues()
- Description copied from interface:
TDFTile
- Returns the number of values that are available for each position in
this Tile.
- Specified by:
noValues
in interface TDFTile
- Returns:
getTileStart
public int getTileStart()
- Specified by:
getTileStart
in interface TDFTile
getTileEnd
public int getTileEnd()
getStartPosition
public int getStartPosition(int idx)
- Specified by:
getStartPosition
in interface TDFTile
getEndPosition
public int getEndPosition(int idx)
- Specified by:
getEndPosition
in interface TDFTile
getName
public java.lang.String getName(int idx)
- Specified by:
getName
in interface TDFTile
getValue
public float getValue(int row,
int idx)
- Specified by:
getValue
in interface TDFTile
getSize
public int getSize()
- Specified by:
getSize
in interface TDFTile
writeTo
public void writeTo(BufferedByteWriter fos)
throws java.io.IOException
- Specified by:
writeTo
in interface TDFTile
- Throws:
java.io.IOException
fill
public void fill(java.nio.ByteBuffer byteBuffer,
int nSamples)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2007-2011 - Thomas Abeel - All Rights Reserved.