com.aelitis.azureus.core.peermanager.piecepicker
Class EndGameModeChunk
java.lang.Object
com.aelitis.azureus.core.peermanager.piecepicker.EndGameModeChunk
public class EndGameModeChunk
- extends java.lang.Object
- Author:
- Olivier, MjrTom
2006/Jan/06 Refactoring
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndGameModeChunk
public EndGameModeChunk(PEPiece pePiece,
int blockNum)
compare
public boolean compare(int pieceNum,
int os)
- Deprecated. This implementation is suitable for equals(); compare() should return int for sorting
- Parameters:
pieceNum
- os
-
- Returns:
equals
public boolean equals(int pieceNum,
int os)
getPieceNumber
public int getPieceNumber()
- Returns:
- int Returns the pieceNumber.
getBlockNumber
public int getBlockNumber()
- Returns:
- int Returns the blockNumber.
getOffset
public int getOffset()
getLength
public int getLength()