public static < T > List < T > least ( List < T > list , int count ) { if ( list . size ( ) > 1 ) { Sorting . sort ( list ) ; return Lists . sliceOf ( list , 0 , count ) ; } else { return null ; } }
Returns the least few .