C# Class Schyntax.PendingEventHeap

显示文件 Open project: schyntax/cs-schtick

Public Methods

Method Description
Peek ( ) : PendingEvent
Pop ( ) : PendingEvent
Push ( PendingEvent ev ) : void

Private Methods

Method Description
Add ( PendingEvent ev ) : int
ClearEndElement ( ) : PendingEvent
LeftChildIndex ( int index ) : int
ParentIndex ( int index ) : int
RightChildIndex ( int index ) : int
Swap ( int a, int b ) : void

Method Details

Peek() public method

public Peek ( ) : PendingEvent
return PendingEvent

Pop() public method

public Pop ( ) : PendingEvent
return PendingEvent

Push() public method

public Push ( PendingEvent ev ) : void
ev PendingEvent
return void