Should be called when the Object at top changes values. Still log(n) worst case, but it's at least twice as fast to
            pq.top().change();
            pq.updateTop();
            
instead of
            o = pq.pop();
            o.change();
            pq.push(o);
            

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public Object UpdateTop()
Visual Basic
Public Function UpdateTop As Object
Visual C++
public:
Object^ UpdateTop()

Return Value

the new 'top' element.

See Also