FileDocCategorySizeDatePackage
PieceMapEntryImpl.javaAPI DocAzureus 3.0.3.41903Thu Feb 09 19:43:20 GMT 2006org.gudy.azureus2.core3.disk.impl.piecemapper.impl

PieceMapEntryImpl

public class PieceMapEntryImpl extends Object implements org.gudy.azureus2.core3.disk.impl.piecemapper.DMPieceMapEntry

Fields Summary
private org.gudy.azureus2.core3.disk.impl.DiskManagerFileInfoImpl
_file
This class denotes the mapping of a piece onto a file. Typically a piece can span multiple files. Each overlapping segment has on of these entries created for it. It identifies the file, the offset within the file, and the length of the chunk
private long
_offset
private int
_length
Constructors Summary
public PieceMapEntryImpl(org.gudy.azureus2.core3.disk.impl.DiskManagerFileInfoImpl file, long offset, int length)

		_file = file;
		_offset = offset;
		_length = length;
	
Methods Summary
public org.gudy.azureus2.core3.disk.impl.DiskManagerFileInfoImplgetFile()

		return _file;
	
public intgetLength()

		return _length;
	
public longgetOffset()

		return _offset;