setKey

format

vvoid setKey(long key)

description

Sets the key of the SearchResults object. Because SearchResults objects are serializable, the object's key provides a way to retrieve it later on.

parameters

key - the object's new key

returns

nothing (void)

throws

The setKey() method does not throw any exceptions.