int function ( Piece arg0 ) { if ( this . seen != arg0 . seen ) { return this . seen < arg0 . seen ? - 1 : 1 ; } return this . index == arg0 . index ? 0 : ( this . index < arg0 . index ? - 1 : 1 ) ; }
piece comparison function for ordering pieces based on their availability . concode_field_sep TorrentByteStorage bucket concode_elem_sep boolean valid concode_elem_sep boolean seeder concode_elem_sep long offset concode_elem_sep ByteBuffer data concode_elem_sep Piece piece concode_elem_sep long length concode_elem_sep int index concode_elem_sep Logger logger concode_elem_sep byte[] hash concode_elem_sep int seen concode_field_sep Piece call concode_elem_sep void seenAt concode_elem_sep ByteBuffer read concode_elem_sep int getIndex concode_elem_sep long size concode_elem_sep ByteBuffer _read concode_elem_sep boolean isValid concode_elem_sep void record concode_elem_sep boolean available concode_elem_sep void noLongerAt concode_elem_sep String toString concode_elem_sep boolean validate