public long setMaxItems ( long n ) { if ( n >= numItems ) { this . maxNumItems = n ; } else if ( this . maxNumItems >= this . numItems ) { this . maxNumItems = this . numItems ; } return this . maxNumItems ; }
Set the limit on the number of unique values