compbio.metadata
Class ChunkHolder

java.lang.Object
  extended by compbio.metadata.ChunkHolder

public class ChunkHolder
extends Object

Represents a chunk of a string data together with the position in a file for the next read operation.

Version:
1.0 December 2009
Author:
pvtroshin

Constructor Summary
ChunkHolder(String chunk, long position)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getChunk()
           
 long getNextPosition()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChunkHolder

public ChunkHolder(String chunk,
                   long position)
Method Detail

getChunk

public String getChunk()

getNextPosition

public long getNextPosition()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object