org.gudy.azureus2.core3.disk.impl.piecemapper.impl
Class PieceMapEntryImpl

java.lang.Object
  extended by org.gudy.azureus2.core3.disk.impl.piecemapper.impl.PieceMapEntryImpl
All Implemented Interfaces:
DMPieceMapEntry

public class PieceMapEntryImpl
extends Object
implements DMPieceMapEntry


Constructor Summary
PieceMapEntryImpl(DiskManagerFileInfoImpl file, long offset, int length)
           
 
Method Summary
 DiskManagerFileInfoImpl getFile()
           
 int getLength()
           
 long getOffset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieceMapEntryImpl

public PieceMapEntryImpl(DiskManagerFileInfoImpl file,
                         long offset,
                         int length)
Method Detail

getFile

public DiskManagerFileInfoImpl getFile()
Specified by:
getFile in interface DMPieceMapEntry

getOffset

public long getOffset()
Specified by:
getOffset in interface DMPieceMapEntry

getLength

public int getLength()
Specified by:
getLength in interface DMPieceMapEntry