@ SuppressWarnings ( "unchecked" ) private void addPool ( Node < K , V > n , boolean updateMinimum ) { decreasePool [ decreasePoolSize ] = n ; n . poolIndex = decreasePoolSize ; decreasePoolSize ++ ; if ( updateMinimum && decreasePoolSize > 1 ) { Node < K , V > poolMin = decreasePool [ decreasePoolMinPos ] ; int c ; if ( comparator == null ) { c = ( ( Comparable < ? super K > ) n . key ) . compareTo ( poolMin . key ) ; } else { c = comparator . compare ( n . key , poolMin . key ) ; } if ( c < 0 ) { decreasePoolMinPos = n . poolIndex ; } } }
Append to decrease pool .