should be protected _getMaxOrMin