Class DMPieceMapSimple.pieceList
- java.lang.Object
-
- com.biglybt.core.disk.impl.piecemapper.impl.DMPieceMapSimple.pieceList
-
- All Implemented Interfaces:
DMPieceList
,DMPieceMapEntry
- Enclosing class:
- DMPieceMapSimple
protected class DMPieceMapSimple.pieceList extends java.lang.Object implements DMPieceList, DMPieceMapEntry
-
-
Field Summary
Fields Modifier and Type Field Description private int
piece_number
-
Constructor Summary
Constructors Modifier Constructor Description protected
pieceList(int _piece_number)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DMPieceMapEntry
get(int index)
int
getCumulativeLengthToPiece(int file_index)
DiskManagerFileInfo
getFile()
int
getLength()
long
getOffset()
int
size()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceDMPieceList
-
get
public DMPieceMapEntry get(int index)
- Specified by:
get
in interfaceDMPieceList
-
getCumulativeLengthToPiece
public int getCumulativeLengthToPiece(int file_index)
- Specified by:
getCumulativeLengthToPiece
in interfaceDMPieceList
-
getFile
public DiskManagerFileInfo getFile()
- Specified by:
getFile
in interfaceDMPieceMapEntry
-
getOffset
public long getOffset()
- Specified by:
getOffset
in interfaceDMPieceMapEntry
-
getLength
public int getLength()
- Specified by:
getLength
in interfaceDMPieceMapEntry
-
-