public void voteFor ( WeightedItem < T > weightedItem ) { reorganizationCounter ++ ; weightedItem . vote ( ) ; if ( reorganizationCounter == maxVotesBeforeReorganization ) { reorganizationCounter = 0 ; organizeAndAdd ( null ) ; } }
Casts a vote for given list node . This vote is added to the item s weight .