org.gudy.azureus2.core3.disk.impl.piecemapper.impl
Class DMPieceMapSimple.pieceList
java.lang.Object
org.gudy.azureus2.core3.disk.impl.piecemapper.impl.DMPieceMapSimple.pieceList
- All Implemented Interfaces:
- DMPieceList, DMPieceMapEntry
- Enclosing class:
- DMPieceMapSimple
protected class DMPieceMapSimple.pieceList
- extends Object
- implements DMPieceList, DMPieceMapEntry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DMPieceMapSimple.pieceList
protected DMPieceMapSimple.pieceList(int _piece_number)
size
public int size()
- Specified by:
size
in interface DMPieceList
get
public DMPieceMapEntry get(int index)
- Specified by:
get
in interface DMPieceList
getCumulativeLengthToPiece
public int getCumulativeLengthToPiece(int file_index)
- Specified by:
getCumulativeLengthToPiece
in interface DMPieceList
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