question: protected int chooseHighWaterMark ( int capacity , double maxLoad ) { return Math . min ( capacity - 2 , ( int ) ( capacity * maxLoad ) ) ; }
target:  Returns new high water mark threshold based on current capacity and maxLoadFactor.