public List < DiscordRecord > getTopHits ( Integer num ) { if ( num >= this . discords . size ( ) ) { return this . discords ; } List < DiscordRecord > res = this . discords . subList ( this . discords . size ( ) - num , this . discords . size ( ) ) ; return res ; }
Returns the number of the top hits .