setRank

format

void setRank(int rank)

description

Sets the rank of the current result relative to the other results of the search.

parameters

rank - the item's rank

returns

nothing (void)

throws

The setRank() method does not throw any exceptions.